HUGO

  • News
  • Docs
  • Themes
  • Showcase
  • Community
  • GitHub
Star

What's on this Page

  • Hugo Layouts Lookup Rules
  • Hugo Layouts Lookup Rules With Theme
  • Examples: Layout Lookup for Regular Pages
  • Examples: Layout Lookup for Home Page
  • Examples: Layout Lookup for Section Pages
  • Examples: Layout Lookup for Taxonomy Pages
  • Examples: Layout Lookup for Term Pages
TEMPLATES FUNDAMENTALS

Hugo's Lookup Order

Hugo searches for the layout to use for a given page in a well defined order, starting from the most specific.

Hugo Layouts Lookup Rules

Hugo takes the parameters listed below into consideration when choosing a layout for a given page. They are listed in a priority order. This should feel natural, but look at the table below for concrete examples of the different parameter variations.

Kind
The page Kind (the home page is one). See the example tables below per kind. This also determines if it is a single page (i.e. a regular content page. We then look for a template in _default/single.html for HTML) or a list page (section listings, home page, taxonomy lists, taxonomy terms. We then look for a template in _default/list.html for HTML).
Layout
Can be set in page front matter.
Output Format
See Custom Output Formats. An output format has both a name (e.g. rss, amp, html) and a suffix (e.g. xml, html). We prefer matches with both (e.g. index.amp.html, but look for less specific templates.

Note that if the output format’s Media Type has more than one suffix defined, only the first is considered.

Language
We will consider a language code in the template name. If the site language is fr, index.fr.amp.html will win over index.amp.html, but index.amp.html will be chosen before index.fr.html.
Type
Is value of type if set in front matter, else it is the name of the root section (e.g. “blog”). It will always have a value, so if not set, the value is “page”.
Section
Is relevant for section, taxonomy and term types.

Tip: The examples below look long and complex. That is the flexibility talking. Most Hugo sites contain just a handful of templates:

├── _default
│   ├── baseof.html
│   ├── list.html
│   └── single.html
└── index.html

Hugo Layouts Lookup Rules With Theme

In Hugo, layouts can live in either the project’s or the themes' layout folders, and the most specific layout will be chosen. Hugo will interleave the lookups listed below, finding the most specific one either in the project or themes.

Examples: Layout Lookup for Regular Pages

Example OutputFormat Suffix Template Lookup Order
Single page in "posts" section HTML html
  1. layouts/posts/single.html.html
  2. layouts/posts/single.html
  3. layouts/_default/single.html.html
  4. layouts/_default/single.html
Base template for single page in "posts" section HTML html
  1. layouts/posts/single-baseof.html.html
  2. layouts/posts/baseof.html.html
  3. layouts/posts/single-baseof.html
  4. layouts/posts/baseof.html
  5. layouts/_default/single-baseof.html.html
  6. layouts/_default/baseof.html.html
  7. layouts/_default/single-baseof.html
  8. layouts/_default/baseof.html
Single page in "posts" section with layout set HTML html
  1. layouts/posts/demolayout.html.html
  2. layouts/posts/single.html.html
  3. layouts/posts/demolayout.html
  4. layouts/posts/single.html
  5. layouts/_default/demolayout.html.html
  6. layouts/_default/single.html.html
  7. layouts/_default/demolayout.html
  8. layouts/_default/single.html
Base template for single page in "posts" section with layout set HTML html
  1. layouts/posts/demolayout-baseof.html.html
  2. layouts/posts/single-baseof.html.html
  3. layouts/posts/baseof.html.html
  4. layouts/posts/demolayout-baseof.html
  5. layouts/posts/single-baseof.html
  6. layouts/posts/baseof.html
  7. layouts/_default/demolayout-baseof.html.html
  8. layouts/_default/single-baseof.html.html
  9. layouts/_default/baseof.html.html
  10. layouts/_default/demolayout-baseof.html
  11. layouts/_default/single-baseof.html
  12. layouts/_default/baseof.html
AMP single page AMP html
  1. layouts/posts/single.amp.html
  2. layouts/posts/single.html
  3. layouts/_default/single.amp.html
  4. layouts/_default/single.html
AMP single page, French language AMP html
  1. layouts/posts/single.fr.amp.html
  2. layouts/posts/single.amp.html
  3. layouts/posts/single.fr.html
  4. layouts/posts/single.html
  5. layouts/_default/single.fr.amp.html
  6. layouts/_default/single.amp.html
  7. layouts/_default/single.fr.html
  8. layouts/_default/single.html

Examples: Layout Lookup for Home Page

Example OutputFormat Suffix Template Lookup Order
Home page HTML html
  1. layouts/index.html.html
  2. layouts/home.html.html
  3. layouts/list.html.html
  4. layouts/index.html
  5. layouts/home.html
  6. layouts/list.html
  7. layouts/_default/index.html.html
  8. layouts/_default/home.html.html
  9. layouts/_default/list.html.html
  10. layouts/_default/index.html
  11. layouts/_default/home.html
  12. layouts/_default/list.html
Base template for home page HTML html
  1. layouts/index-baseof.html.html
  2. layouts/home-baseof.html.html
  3. layouts/list-baseof.html.html
  4. layouts/baseof.html.html
  5. layouts/index-baseof.html
  6. layouts/home-baseof.html
  7. layouts/list-baseof.html
  8. layouts/baseof.html
  9. layouts/_default/index-baseof.html.html
  10. layouts/_default/home-baseof.html.html
  11. layouts/_default/list-baseof.html.html
  12. layouts/_default/baseof.html.html
  13. layouts/_default/index-baseof.html
  14. layouts/_default/home-baseof.html
  15. layouts/_default/list-baseof.html
  16. layouts/_default/baseof.html
Home page with type set HTML html
  1. layouts/demotype/index.html.html
  2. layouts/demotype/home.html.html
  3. layouts/demotype/list.html.html
  4. layouts/demotype/index.html
  5. layouts/demotype/home.html
  6. layouts/demotype/list.html
  7. layouts/index.html.html
  8. layouts/home.html.html
  9. layouts/list.html.html
  10. layouts/index.html
  11. layouts/home.html
  12. layouts/list.html
  13. layouts/_default/index.html.html
  14. layouts/_default/home.html.html
  15. layouts/_default/list.html.html
  16. layouts/_default/index.html
  17. layouts/_default/home.html
  18. layouts/_default/list.html
Base template for home page with type set HTML html
  1. layouts/demotype/index-baseof.html.html
  2. layouts/demotype/home-baseof.html.html
  3. layouts/demotype/list-baseof.html.html
  4. layouts/demotype/baseof.html.html
  5. layouts/demotype/index-baseof.html
  6. layouts/demotype/home-baseof.html
  7. layouts/demotype/list-baseof.html
  8. layouts/demotype/baseof.html
  9. layouts/index-baseof.html.html
  10. layouts/home-baseof.html.html
  11. layouts/list-baseof.html.html
  12. layouts/baseof.html.html
  13. layouts/index-baseof.html
  14. layouts/home-baseof.html
  15. layouts/list-baseof.html
  16. layouts/baseof.html
  17. layouts/_default/index-baseof.html.html
  18. layouts/_default/home-baseof.html.html
  19. layouts/_default/list-baseof.html.html
  20. layouts/_default/baseof.html.html
  21. layouts/_default/index-baseof.html
  22. layouts/_default/home-baseof.html
  23. layouts/_default/list-baseof.html
  24. layouts/_default/baseof.html
Home page with layout set HTML html
  1. layouts/demolayout.html.html
  2. layouts/index.html.html
  3. layouts/home.html.html
  4. layouts/list.html.html
  5. layouts/demolayout.html
  6. layouts/index.html
  7. layouts/home.html
  8. layouts/list.html
  9. layouts/_default/demolayout.html.html
  10. layouts/_default/index.html.html
  11. layouts/_default/home.html.html
  12. layouts/_default/list.html.html
  13. layouts/_default/demolayout.html
  14. layouts/_default/index.html
  15. layouts/_default/home.html
  16. layouts/_default/list.html
AMP home, French language AMP html
  1. layouts/index.fr.amp.html
  2. layouts/home.fr.amp.html
  3. layouts/list.fr.amp.html
  4. layouts/index.amp.html
  5. layouts/home.amp.html
  6. layouts/list.amp.html
  7. layouts/index.fr.html
  8. layouts/home.fr.html
  9. layouts/list.fr.html
  10. layouts/index.html
  11. layouts/home.html
  12. layouts/list.html
  13. layouts/_default/index.fr.amp.html
  14. layouts/_default/home.fr.amp.html
  15. layouts/_default/list.fr.amp.html
  16. layouts/_default/index.amp.html
  17. layouts/_default/home.amp.html
  18. layouts/_default/list.amp.html
  19. layouts/_default/index.fr.html
  20. layouts/_default/home.fr.html
  21. layouts/_default/list.fr.html
  22. layouts/_default/index.html
  23. layouts/_default/home.html
  24. layouts/_default/list.html
JSON home JSON json
  1. layouts/index.json.json
  2. layouts/home.json.json
  3. layouts/list.json.json
  4. layouts/index.json
  5. layouts/home.json
  6. layouts/list.json
  7. layouts/_default/index.json.json
  8. layouts/_default/home.json.json
  9. layouts/_default/list.json.json
  10. layouts/_default/index.json
  11. layouts/_default/home.json
  12. layouts/_default/list.json
RSS home RSS xml
  1. layouts/index.rss.xml
  2. layouts/home.rss.xml
  3. layouts/rss.xml
  4. layouts/list.rss.xml
  5. layouts/index.xml
  6. layouts/home.xml
  7. layouts/list.xml
  8. layouts/_default/index.rss.xml
  9. layouts/_default/home.rss.xml
  10. layouts/_default/rss.xml
  11. layouts/_default/list.rss.xml
  12. layouts/_default/index.xml
  13. layouts/_default/home.xml
  14. layouts/_default/list.xml
  15. layouts/_internal/_default/rss.xml

Examples: Layout Lookup for Section Pages

Example OutputFormat Suffix Template Lookup Order
RSS section posts RSS xml
  1. layouts/posts/section.rss.xml
  2. layouts/posts/rss.xml
  3. layouts/posts/list.rss.xml
  4. layouts/posts/section.xml
  5. layouts/posts/list.xml
  6. layouts/section/section.rss.xml
  7. layouts/section/rss.xml
  8. layouts/section/list.rss.xml
  9. layouts/section/section.xml
  10. layouts/section/list.xml
  11. layouts/_default/section.rss.xml
  12. layouts/_default/rss.xml
  13. layouts/_default/list.rss.xml
  14. layouts/_default/section.xml
  15. layouts/_default/list.xml
  16. layouts/_internal/_default/rss.xml
Section list for "posts" section HTML html
  1. layouts/posts/posts.html.html
  2. layouts/posts/section.html.html
  3. layouts/posts/list.html.html
  4. layouts/posts/posts.html
  5. layouts/posts/section.html
  6. layouts/posts/list.html
  7. layouts/section/posts.html.html
  8. layouts/section/section.html.html
  9. layouts/section/list.html.html
  10. layouts/section/posts.html
  11. layouts/section/section.html
  12. layouts/section/list.html
  13. layouts/_default/posts.html.html
  14. layouts/_default/section.html.html
  15. layouts/_default/list.html.html
  16. layouts/_default/posts.html
  17. layouts/_default/section.html
  18. layouts/_default/list.html
Section list for "posts" section with type set to "blog" HTML html
  1. layouts/blog/posts.html.html
  2. layouts/blog/section.html.html
  3. layouts/blog/list.html.html
  4. layouts/blog/posts.html
  5. layouts/blog/section.html
  6. layouts/blog/list.html
  7. layouts/posts/posts.html.html
  8. layouts/posts/section.html.html
  9. layouts/posts/list.html.html
  10. layouts/posts/posts.html
  11. layouts/posts/section.html
  12. layouts/posts/list.html
  13. layouts/section/posts.html.html
  14. layouts/section/section.html.html
  15. layouts/section/list.html.html
  16. layouts/section/posts.html
  17. layouts/section/section.html
  18. layouts/section/list.html
  19. layouts/_default/posts.html.html
  20. layouts/_default/section.html.html
  21. layouts/_default/list.html.html
  22. layouts/_default/posts.html
  23. layouts/_default/section.html
  24. layouts/_default/list.html
Section list for "posts" section with layout set to "demoLayout" HTML html
  1. layouts/posts/demolayout.html.html
  2. layouts/posts/posts.html.html
  3. layouts/posts/section.html.html
  4. layouts/posts/list.html.html
  5. layouts/posts/demolayout.html
  6. layouts/posts/posts.html
  7. layouts/posts/section.html
  8. layouts/posts/list.html
  9. layouts/section/demolayout.html.html
  10. layouts/section/posts.html.html
  11. layouts/section/section.html.html
  12. layouts/section/list.html.html
  13. layouts/section/demolayout.html
  14. layouts/section/posts.html
  15. layouts/section/section.html
  16. layouts/section/list.html
  17. layouts/_default/demolayout.html.html
  18. layouts/_default/posts.html.html
  19. layouts/_default/section.html.html
  20. layouts/_default/list.html.html
  21. layouts/_default/demolayout.html
  22. layouts/_default/posts.html
  23. layouts/_default/section.html
  24. layouts/_default/list.html

Examples: Layout Lookup for Taxonomy Pages

Example OutputFormat Suffix Template Lookup Order
Taxonomy in categories RSS xml
  1. layouts/categories/category.terms.rss.xml
  2. layouts/categories/terms.rss.xml
  3. layouts/categories/taxonomy.rss.xml
  4. layouts/categories/rss.xml
  5. layouts/categories/list.rss.xml
  6. layouts/categories/category.terms.xml
  7. layouts/categories/terms.xml
  8. layouts/categories/taxonomy.xml
  9. layouts/categories/list.xml
  10. layouts/category/category.terms.rss.xml
  11. layouts/category/terms.rss.xml
  12. layouts/category/taxonomy.rss.xml
  13. layouts/category/rss.xml
  14. layouts/category/list.rss.xml
  15. layouts/category/category.terms.xml
  16. layouts/category/terms.xml
  17. layouts/category/taxonomy.xml
  18. layouts/category/list.xml
  19. layouts/taxonomy/category.terms.rss.xml
  20. layouts/taxonomy/terms.rss.xml
  21. layouts/taxonomy/taxonomy.rss.xml
  22. layouts/taxonomy/rss.xml
  23. layouts/taxonomy/list.rss.xml
  24. layouts/taxonomy/category.terms.xml
  25. layouts/taxonomy/terms.xml
  26. layouts/taxonomy/taxonomy.xml
  27. layouts/taxonomy/list.xml
  28. layouts/_default/category.terms.rss.xml
  29. layouts/_default/terms.rss.xml
  30. layouts/_default/taxonomy.rss.xml
  31. layouts/_default/rss.xml
  32. layouts/_default/list.rss.xml
  33. layouts/_default/category.terms.xml
  34. layouts/_default/terms.xml
  35. layouts/_default/taxonomy.xml
  36. layouts/_default/list.xml
  37. layouts/_internal/_default/rss.xml
Taxonomy list in categories HTML html
  1. layouts/categories/category.terms.html.html
  2. layouts/categories/terms.html.html
  3. layouts/categories/taxonomy.html.html
  4. layouts/categories/list.html.html
  5. layouts/categories/category.terms.html
  6. layouts/categories/terms.html
  7. layouts/categories/taxonomy.html
  8. layouts/categories/list.html
  9. layouts/category/category.terms.html.html
  10. layouts/category/terms.html.html
  11. layouts/category/taxonomy.html.html
  12. layouts/category/list.html.html
  13. layouts/category/category.terms.html
  14. layouts/category/terms.html
  15. layouts/category/taxonomy.html
  16. layouts/category/list.html
  17. layouts/taxonomy/category.terms.html.html
  18. layouts/taxonomy/terms.html.html
  19. layouts/taxonomy/taxonomy.html.html
  20. layouts/taxonomy/list.html.html
  21. layouts/taxonomy/category.terms.html
  22. layouts/taxonomy/terms.html
  23. layouts/taxonomy/taxonomy.html
  24. layouts/taxonomy/list.html
  25. layouts/_default/category.terms.html.html
  26. layouts/_default/terms.html.html
  27. layouts/_default/taxonomy.html.html
  28. layouts/_default/list.html.html
  29. layouts/_default/category.terms.html
  30. layouts/_default/terms.html
  31. layouts/_default/taxonomy.html
  32. layouts/_default/list.html

Examples: Layout Lookup for Term Pages

Example OutputFormat Suffix Template Lookup Order
Term in categories RSS xml
  1. layouts/categories/term.rss.xml
  2. layouts/categories/category.rss.xml
  3. layouts/categories/taxonomy.rss.xml
  4. layouts/categories/rss.xml
  5. layouts/categories/list.rss.xml
  6. layouts/categories/term.xml
  7. layouts/categories/category.xml
  8. layouts/categories/taxonomy.xml
  9. layouts/categories/list.xml
  10. layouts/term/term.rss.xml
  11. layouts/term/category.rss.xml
  12. layouts/term/taxonomy.rss.xml
  13. layouts/term/rss.xml
  14. layouts/term/list.rss.xml
  15. layouts/term/term.xml
  16. layouts/term/category.xml
  17. layouts/term/taxonomy.xml
  18. layouts/term/list.xml
  19. layouts/taxonomy/term.rss.xml
  20. layouts/taxonomy/category.rss.xml
  21. layouts/taxonomy/taxonomy.rss.xml
  22. layouts/taxonomy/rss.xml
  23. layouts/taxonomy/list.rss.xml
  24. layouts/taxonomy/term.xml
  25. layouts/taxonomy/category.xml
  26. layouts/taxonomy/taxonomy.xml
  27. layouts/taxonomy/list.xml
  28. layouts/category/term.rss.xml
  29. layouts/category/category.rss.xml
  30. layouts/category/taxonomy.rss.xml
  31. layouts/category/rss.xml
  32. layouts/category/list.rss.xml
  33. layouts/category/term.xml
  34. layouts/category/category.xml
  35. layouts/category/taxonomy.xml
  36. layouts/category/list.xml
  37. layouts/_default/term.rss.xml
  38. layouts/_default/category.rss.xml
  39. layouts/_default/taxonomy.rss.xml
  40. layouts/_default/rss.xml
  41. layouts/_default/list.rss.xml
  42. layouts/_default/term.xml
  43. layouts/_default/category.xml
  44. layouts/_default/taxonomy.xml
  45. layouts/_default/list.xml
  46. layouts/_internal/_default/rss.xml
Taxonomy term in categories HTML html
  1. layouts/categories/term.html.html
  2. layouts/categories/category.html.html
  3. layouts/categories/taxonomy.html.html
  4. layouts/categories/list.html.html
  5. layouts/categories/term.html
  6. layouts/categories/category.html
  7. layouts/categories/taxonomy.html
  8. layouts/categories/list.html
  9. layouts/term/term.html.html
  10. layouts/term/category.html.html
  11. layouts/term/taxonomy.html.html
  12. layouts/term/list.html.html
  13. layouts/term/term.html
  14. layouts/term/category.html
  15. layouts/term/taxonomy.html
  16. layouts/term/list.html
  17. layouts/taxonomy/term.html.html
  18. layouts/taxonomy/category.html.html
  19. layouts/taxonomy/taxonomy.html.html
  20. layouts/taxonomy/list.html.html
  21. layouts/taxonomy/term.html
  22. layouts/taxonomy/category.html
  23. layouts/taxonomy/taxonomy.html
  24. layouts/taxonomy/list.html
  25. layouts/category/term.html.html
  26. layouts/category/category.html.html
  27. layouts/category/taxonomy.html.html
  28. layouts/category/list.html.html
  29. layouts/category/term.html
  30. layouts/category/category.html
  31. layouts/category/taxonomy.html
  32. layouts/category/list.html
  33. layouts/_default/term.html.html
  34. layouts/_default/category.html.html
  35. layouts/_default/taxonomy.html.html
  36. layouts/_default/list.html.html
  37. layouts/_default/term.html
  38. layouts/_default/category.html
  39. layouts/_default/taxonomy.html
  40. layouts/_default/list.html

See Also

  • Create Your Own Shortcodes
  • RSS Templates
  • Section Page Templates
  • Single Page Templates
  • Sitemap Template
  • About Hugo
    • Overview
    • Hugo's Security Model
    • Hugo and GDPR
    • What is Hugo
    • Hugo Features
    • The Benefits of Static
    • License
  • Getting Started
    • Get Started Overview
    • Quick Start
    • Install Hugo
    • Basic Usage
    • Directory Structure
    • Configuration
    • External Learning Resources
  • Hugo Modules
    • Hugo Modules Overview
    • Configure Modules
    • Use Hugo Modules
    • Theme Components
  • Content Management
    • Content Management Overview
    • Organization
    • Page Bundles
    • Content Formats
    • Front Matter
    • Build Options
    • Page Resources
    • Image Processing
    • Shortcodes
    • Related Content
    • Sections
    • Content Types
    • Archetypes
    • Taxonomies
    • Summaries
    • Links and Cross References
    • URL Management
    • Menus
    • Static Files
    • Table of Contents
    • Comments
    • Multilingual and i18n
    • Syntax Highlighting
  • Templates
    • Templates Overview
    • Introduction
    • Template Lookup Order
    • Custom Output Formats
    • Base Templates and Blocks
    • List Page Templates
    • Homepage Template
    • Section Templates
    • Taxonomy Templates
    • Single Page Templates
    • Content View Templates
    • Data Templates
    • Partial Templates
    • Shortcode Templates
    • Local File Templates
    • 404 Page
    • Menu Templates
    • Pagination
    • RSS Templates
    • Sitemap Template
    • Robots.txt
    • Internal Templates
    • Alternative Templating
    • Template Debugging
  • Functions
    • Functions Quick Reference
    • .AddDate
    • .Format
    • .Get
    • .GetPage
    • .HasMenuCurrent
    • .IsMenuCurrent
    • .Param
    • .Render
    • .RenderString
    • .Scratch
    • .Unix
    • absLangURL
    • absURL
    • after
    • anchorize
    • append
    • apply
    • base64
    • chomp
    • complement
    • cond
    • countrunes
    • countwords
    • default
    • delimit
    • dict
    • echoParam
    • emojify
    • eq
    • errorf and warnf
    • fileExists
    • findRE
    • first
    • float
    • ge
    • getenv
    • group
    • gt
    • hasPrefix
    • highlight
    • hmac
    • htmlEscape
    • htmlUnescape
    • hugo
    • humanize
    • i18n
    • Image Functions
    • in
    • index
    • int
    • intersect
    • isset
    • jsonify
    • lang
    • lang.Merge
    • last
    • le
    • len
    • lower
    • lt
    • markdownify
    • Math
    • md5
    • merge
    • ne
    • now
    • os.Stat
    • partialCached
    • path.Base
    • path.Dir
    • path.Ext
    • path.Join
    • path.Split
    • plainify
    • pluralize
    • print
    • printf
    • println
    • querify
    • range
    • readDir
    • readFile
    • ref
    • reflect.IsMap
    • reflect.IsSlice
    • relLangURL
    • relref
    • relURL
    • replace
    • replaceRE
    • safeCSS
    • safeHTML
    • safeHTMLAttr
    • safeJS
    • safeURL
    • seq
    • sha
    • shuffle
    • singularize
    • site
    • slice
    • slicestr
    • sort
    • split
    • string
    • strings.Count
    • strings.HasSuffix
    • strings.Repeat
    • strings.RuneCount
    • strings.TrimLeft
    • strings.TrimPrefix
    • strings.TrimRight
    • strings.TrimSuffix
    • substr
    • symdiff
    • templates.Exists
    • time
    • time.Format
    • title
    • transform.Unmarshal
    • trim
    • truncate
    • union
    • uniq
    • upper
    • urlize
    • urls.Parse
    • where
    • with
  • Variables
    • Variables Overview
    • Site Variables
    • Page Variables
    • Shortcode Variables
    • Pages Methods
    • Taxonomy Variables
    • File Variables
    • Menu Entry Properties
    • Hugo Variables
    • Git Variables
    • Sitemap Variables
  • Hugo Pipes
    • Hugo Pipes Overview
    • Hugo Pipes Introduction
    • SASS / SCSS
    • PostProcess
    • PostCSS
    • JavaScript Building
    • Babel
    • Asset minification
    • Asset bundling
    • Fingerprinting and SRI
    • Resource from Template
    • Resource from String
  • CLI
  • Troubleshooting
    • Troubleshoot
    • FAQ
    • Build Performance
  • Tools
    • Developer Tools Overview
    • Migrations
    • Starter Kits
    • Frontends
    • Editor Plug-ins
    • Search
    • Other Projects
  • Hosting & Deployment
    • Hosting & Deployment Overview
    • Hugo Deploy
    • Host-Agnostic Deploys with Nanobox
    • Host on AWS Amplify
    • Host on Netlify
    • Host on Render
    • Host on Firebase
    • Host on GitHub
    • Host on GitLab
    • Hosting on KeyCDN
    • Host on Bitbucket
    • Deployment with Rsync
  • Contribute
    • Contribute to Hugo
    • Development
    • Documentation
    • Themes
  • Maintenance
“Hugo's Lookup Order” was last updated: October 17, 2021: 211017更新 (baa0f65)
Improve this page
By the Hugo Authors
Hugo Logo
  • File an Issue
  • Get Help
  • Discuss Source Code
  • @GoHugoIO
  • @spf13
  • @bepsays

Netlify badge

 
 

Hugo Sponsors

Logo for Linode
Logo for eSolia
Logo for Brave
 

The Hugo logos are copyright © Steve Francia 2013–2021.

The Hugo Gopher is based on an original work by Renée French.

  • News
  • Docs
  • Themes
  • Showcase
  • Community
  • GitHub
  • About Hugo
  • Getting Started
  • Hugo Modules
  • Content Management
  • Templates
  • Functions
  • Variables
  • Hugo Pipes
  • CLI
  • Troubleshooting
  • Tools
  • Hosting & Deployment
  • Contribute
  • Maintenance