Pages

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

..
├── blog/
│   ├── say-hello-to-doks/
│   │   ├── index.md
│   │   └── say-hello-to-doks.png
│   └── _index.md
├── about/
│   └── index.md
├── contributors/
│   ├── henk-verlinde/
│   │   └── _index.md
│   └── _index.md
├── docs/
│   ├── help/
│   │   ├── _index.md
│   │   └── faq.md
│   ├── overview/
│   │   ├── _index.md
│   │   ├── commands.md
│   │   └── introduction.md
│   └── _index.md
└── _index.md

See also the Hugo docs: Content Organization.

Add a default page

Example

npm run create about/index.md

Add a documentation page

Example

npm run create docs/overview/introduction.md

Add a blog post

Example

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

Add a contributor page

Example

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

Add a section

Example

npm run create -- --kind docs development-guides/

Customize homepage

See: Page Layouts.

Customize 404 page

See: Page Layouts.

Edit this page on GitHub