New template system
Overview of the new template system in Hugo v0.146.0.
Introduction
An introduction to Hugo's templating syntax.
Lookup order
Hugo uses the rules below to select a template for a given page, starting from the most specific.
Template types
Create templates of different types to render your content, resources, and data.
Shortcode templates
Create custom shortcodes to simplify and standardize content creation.
Sitemap templates
Hugo provides built-in sitemap templates.
RSS templates
Use the embedded RSS template, or create your own.
Menu templates
Create templates to render one or more menus.
Pagination
Split a list page into two or more subsets.
Embedded partial templates
Hugo provides embedded partial templates for common use cases.
robots.txt templates
Hugo can generate a customized robots.txt in the same way as any other template.
404 templates
Create a template to render a 404 error page.