Pages

Add a default page, documentation page, blog post or contributor page. Customize the homepage and 404 page.

On this page

  1. ..
  2. ├── blog/
  3. ├── say-hello-to-doks/
  4. ├── index.md
  5. └── say-hello-to-doks.png
  6. └── _index.md
  7. ├── about/
  8. └── index.md
  9. ├── contributors/
  10. ├── henk-verlinde/
  11. └── _index.md
  12. └── _index.md
  13. ├── docs/
  14. ├── help/
  15. ├── _index.md
  16. └── faq.md
  17. ├── prologue/
  18. ├── _index.md
  19. ├── commands.md
  20. └── introduction.md
  21. └── _index.md
  22. └── _index.md

See also the Hugo docs: Content Organization.

Add a default page

Example

  1. npm run create about/index.md

Add a documentation page

Example

  1. npm run create docs/prologue/introduction.md

Add a blog post

Example

  1. npm run create blog/say-hello-to-doks/index.md

Add a contributor page

Example

  1. npm run create contributors/henk-verlinde/_index.md

Customize homepage

See: Page Layouts.

Customize 404 page

See: Page Layouts.