-
Hello, Is there a way to alter the main menu and remove Series, Archives, Categories, Tags? More specifically I would like to put them under a menu called "Blog" or something and add other items instead. Had a play around with the config but did not succeed and I do not want to alter the hugo module. Many thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
razonyang
May 23, 2022
Replies: 1 comment 7 replies
-
Yes. Let's take
// config/_default/menu.toml
[[main]]
name = "Blog"
identifier = "blog"
// content/tags/index.md
[menu.main]
weight = 30
pre = '<i class="fas fa-fw fa-tags"></i>'
parent = 'blog' The Further reading: Menu. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
Mecanik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. Let's take
Tags
as an example:parent
directive.The
parent
should be equal to theidentifier
we defined above.Further reading: Menu.