Hugo Book - Introduction: https://hugo-book-demo.netlify.app/docs/introduction/ - Getting Started: https://hugo-book-demo.netlify.app/docs/getting-started/ - Configuration: https://hugo-book-demo.netlify.app/docs/configuration/ - Content & Structure: https://hugo-book-demo.netlify.app/docs/content/ - Pages: https://hugo-book-demo.netlify.app/docs/content/pages/ - Menus: https://hugo-book-demo.netlify.app/docs/content/menus/ - Blog: https://hugo-book-demo.netlify.app/docs/content/blog/ - Multi-Language: https://hugo-book-demo.netlify.app/docs/content/multilingual/ - Customization: https://hugo-book-demo.netlify.app/docs/customization/ - Shortcodes: https://hugo-book-demo.netlify.app/docs/shortcodes/ - Asciinema: https://hugo-book-demo.netlify.app/docs/shortcodes/asciinema/ - Buttons: https://hugo-book-demo.netlify.app/docs/shortcodes/buttons/ - Columns: https://hugo-book-demo.netlify.app/docs/shortcodes/columns/ - Details: https://hugo-book-demo.netlify.app/docs/shortcodes/details/ - Badges: https://hugo-book-demo.netlify.app/docs/shortcodes/experimental/badges/ - Cards: https://hugo-book-demo.netlify.app/docs/shortcodes/experimental/cards/ - Images: https://hugo-book-demo.netlify.app/docs/shortcodes/experimental/images/ - Hints: https://hugo-book-demo.netlify.app/docs/shortcodes/hints/ - Mermaid: https://hugo-book-demo.netlify.app/docs/shortcodes/mermaid/ - Steps: https://hugo-book-demo.netlify.app/docs/shortcodes/steps/ - Tabs: https://hugo-book-demo.netlify.app/docs/shortcodes/tabs/ - KaTeX: https://hugo-book-demo.netlify.app/docs/shortcodes/katex/ # Content Organization Hugo Book renders pages from a section as a sidebar menu. By default this is the `docs/` directory. ## Example Directory Structure ``` content/ ├── docs/ │ ├── _index.md │ ├── getting-started.md │ ├── guide/ │ │ ├── _index.md │ │ ├── install.md │ │ └── configure.md │ └── reference/ │ └── _index.md ├── posts/ │ ├── _index.md │ └── my-post.md └── _index.md ``` Pages are ordered by `weight` frontmatter, then alphabetically. Section `_index.md` files define the section entry in the menu. ## Changing the Menu Section By default, pages under `docs/` are rendered as the sidebar menu. Change this with the `BookSection` parameter in [Configuration](/docs/configuration/). Set to `'/'` to render all top-level sections. ## Page Layouts The theme provides several layouts: | Layout | Usage | Description | | --- | --- | --- | | (default) | Documentation pages | Sidebar menu + content + optional ToC | | `landing` | `layout: landing` | Full-width, no sidebar. Used for homepages. | | `book` | `layout: book` | Single-page view with all subsections listed | | `posts` | Pages under `posts/` | Blog-style with date, tags, pagination | Set the layout in frontmatter ```yaml {filename=_index.md} --- layout: landing --- ``` See [Pages](/docs/content/pages/) for frontmatter reference and [Menus](/docs/content/menus/) for navigation controls.