hugo-theme-jane icon indicating copy to clipboard operation
hugo-theme-jane copied to clipboard

如何更改菜单里的About 和 docs?

Open bobbychovip opened this issue 5 years ago • 4 comments

您好,我用您的主题搭建博客时,发现配置文件 config.toml 里没有更改 About 菜单和 docs 菜单的配置项。请问应该在哪修改呢?

bobbychovip avatar Oct 17 '19 08:10 bobbychovip

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:

You can edit them directly here.

lief2 avatar Oct 19 '19 09:10 lief2

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:

You can edit them directly here.

Many thanks. I got it.

bobbychovip avatar Oct 21 '19 02:10 bobbychovip

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

alfredocambera avatar Nov 14 '19 22:11 alfredocambera

在post文章中,把

menu: 
main: 
parent: "docs"
 weight: 1

去掉就好了。 由此看来,dics 似乎是一个自定义菜单

siteson avatar Feb 05 '20 02:02 siteson