hugo-theme-jane
hugo-theme-jane copied to clipboard
如何更改菜单里的About 和 docs?
您好,我用您的主题搭建博客时,发现配置文件 config.toml 里没有更改 About 菜单和 docs 菜单的配置项。请问应该在哪修改呢?
I have the same exact problem: a docs menu and an about page are shown in the main menu even though they are defined nowhere in config.toml. I am still figuring out all the code.
EDIT:
They are both defined in markdown front matter:
- in /content/about.md for the about page
- in various posts in /content/post
You can edit them directly here.
I have the same exact problem: a docs menu and an about page are shown in the main menu even though they are defined nowhere in config.toml. I am still figuring out all the code.
EDIT:
They are both defined in markdown front matter:
- in /content/about.md for the about page
- in various posts in /content/post
You can edit them directly here.
Many thanks. I got it.
Same here. I'd like to remove that link to about
and docs
.
Noticed there are configuration parameters for docs
on https://github.com/xianmin/hugo-theme-jane/blob/master/dev-config.toml#L44-L55 . Seems like a work in progress
在post文章中,把
menu:
main:
parent: "docs"
weight: 1
去掉就好了。
由此看来,dics
似乎是一个自定义菜单