Skip to content

Navbar Setting

Ben Wong edited this page May 11, 2017 · 3 revisions

Hexo-theme-Anatole shows links of About and Links pages in navbar by default. You should create two pages whose permalinks are about and links by yourself.

If you would like to change those two urls or delete them, you can edit /layout/partrial/nav.jade.

A more convenient way of setting navbar will be release in future version, and you are welcomed to make a pull request about it.


主题安装完成后,在顶部导航栏默认显示 友链关于 两个页面的链接,点击后分别跳转到 /links/about。要使此功能生效,请新建两个固定链接为 /links/about 的页面。

如果想更改导航栏的链接或是增删导航栏项目,请编辑 /layout/partrial/nav.jade

更方便的自定义方法会在日后的版本实现,也欢迎对此功能发起 pull request。