Emojis
Include emoji shortcodes in your Markdown or templates.
Functions
A quick reference guide to Hugo's functions, grouped by namespace. Aliases, if any, appear in parentheses to the right of the function name.
Glob patterns
A glob pattern is a pattern used to match sets of values. It is a shorthand for specifying multiple targets at once, making it easier to work with groups of data or configurations. The table below details the supported glob pattern syntax and its matching behavior. Each example illustrates a specific match type, the pattern used, and the expected boolean result when evaluated against a test string. Match type Glob pattern Test string Match? Simple wildcard a/*.md a/page.md true Literal match 'a/*.md' a/*.md true Single-level wildcard a/*/page.md a/b/page.md true Single-level wildcard a/*/page.md a/b/c/page.md false Multi-level wildcard a/**/page.md a/b/c/page.md true Single character file.??? file.txt true Single character file.??? file.js false Delimiter exclusion ?at f/at false Character list f.[jt]xt f.txt true Negated list f.[!j]xt f.txt true Character range f.[a-c].txt f.b.txt true Character range f.[a-c].txt f.z.txt false Negated range f.[!a-c].txt f.z.txt true Pattern alternates *.{jpg,png} logo.png true No match *.{jpg,png} logo.webp false The matching logic follows these rules:
Glossary
Terms commonly used throughout the documentation.
Methods
A quick reference guide to Hugo's methods, grouped by object.
Page collections
A quick reference guide to Hugo's page collections.
Syntax highlighting styles
Highlight code examples using one of these styles.
