Layouts

Customize layouts.

..
├── _default/
│   ├── baseof.html
│   ├── list.html
│   └── single.html
├── blog/
│   ├── list.html
│   └── single.html
├── contributors/
│   └── list.html
├── docs/
│   ├── list.html
│   └── single.html
├── partials/
│   ├── footer/
│   │   ├── footer.html
│   │   └── script-footer.html
│   ├── head/
│   │   ├── favicons.html
│   │   ├── head.html
│   │   ├── opengraph.html
│   │   ├── resource-hints.html
│   │   ├── script-header.html
│   │   ├── seo.html
│   │   ├── structured-data.html
│   │   ├── stylesheet.html
│   │   └── twitter_cards.html
│   ├── header/
│   │   ├── alert.html
│   │   └── header.html
│   ├── main/
│   └── sidebar/
├── shortcodes/
│   ├── alert.html
│   ├── btn-copy.html
│   ├── email.html
│   ├── img-simple.html
│   └── img.html
├── 404.html
├── index.headers
├── index.html
├── index.redirects
├── robots.txt
├── rss.xml
└── sitemap.xml

See also the Hugo docs: Templates.

Customize _default

See the Hugo docs: Base Templates and Blocks

Customize blog

See the Hugo docs: Single Page Templates

Customize categories

See the Hugo docs: Taxonomy Templates

Customize partials

See the Hugo docs: Partial Templates

Customize shortcodes

See the Hugo docs: Create Your Own Shortcodes

Customize 404.html

See the Hugo docs: Custom 404 Page

Customize index.headers

See: Netlify.

Customize index.html

See the Hugo docs: Homepage Template

Customize index.redirects

See: Netlify.

Customize robots.txt

User-agent: *
{{ if eq (hugo.Environment) "production" -}}
Allow: /
{{ else -}}
Disallow: /
{{ end }}
Sitemap: {{ "sitemap.xml" | relURL -}}

See also the Hugo docs: Robots.txt File

Customize rss.xml

See the Hugo docs: RSS Templates

Customize sitemap.xml

See the Hugo docs: Sitemap Template

Edit this page on GitHub