Example structure #45
-
Hello, I am trying to implement your theme but am having problems with forcing naming in the top menu bar. Can you provide an example on how to specify custom names for the menu options beyond the file name? For example, I have a folder entitled "01_GettingStarted" but I would like it to show up as only "Getting Started" on the live site. With previous themes, we used an index.md file with a header where you could specify things like It would be particularly helpful to view the file structure behind the example screenshot shown in the README.md. Any guidance you can provide would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @CarrieBrown, Off the top of my head the titles shown in navigation come from (in descending order of precedence):
I don't know if MkDocs looks at the frontmatter for titles by default, but I'm fairly sure it doesn't do this for weighting. Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi @CarrieBrown,
Off the top of my head the titles shown in navigation come from (in descending order of precedence):
nav
entry inmkdocs.yml
(e.g.- My Title: some/page/index.md
).# My Title
).I don't know if MkDocs looks at the frontmatter for titles by default, but I'm fairly sure it doesn't do this for weighting.
Hope this helps!