Pages

Add a default page, documentation page, blog post or contributor page. 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
│   ├── prologue/
│   │   ├── _index.md
│   │   ├── commands.md
│   │   └── introduction.md
│   └── _index.md
└── _index.md

See also the Hugo docs: Content Organization.

Add a default page

Example

hugo new about/index.md

Add a documentation page

Example

hugo new docs/prologue/introduction.md

Add a blog post

Example

hugo new blog/say-hello-to-doks/index.md

Add a contributor page

Example

hugo new contributors/henk-verlinde/_index.md

Customize homepage

See: Page Layouts.

Customize 404 page

See: Page Layouts.

Edit this page on GitHub