Closed MIngPAPA closed 6 years ago
Hi,
There are two ways you can do this. You can either specify your main menu in config.toml
for example like this:
[menu]
[[menu.main]]
identifier = "tutorial"
name = "tutorial"
url = "/tutorial"
[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
or you can indicate it in the frontmatter of the page itself, for example on about.md:
+++
title = "About me"
menu = "main"
+++
For more information you can look at the hugo basic example site which was used for the demo or hugo's menu documentation.
Hello, Ling! I'm new to hugo. With the help of your theme, now I have my rough blog page!
What should I do to set the section navigations or just as the top right corner in your sample figure(the links like "about Tutorials")?
Now, my directory structure under the content is: ├── about │ └── about.md └── post └── first.md