HUGO
News
Docs
Themes
Showcase
Community
GitHub
Search
Star
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
Diagrams
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
Syntax Highlighting
Templates
Templates Overview
Templating
Template Lookup Order
Custom Output Formats
Base Templates and Blocks
Render Hooks
List 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 Templates
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 Filters
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.BaseName
path.Clean
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
Git Variables
Sitemap Variables
Hugo Pipes
Hugo Pipes Overview
Hugo Pipes
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 on AWS Amplify
Host on Netlify
Host on Render
Host on Firebase
Host on GitHub
Host on GitLab
Hosting on KeyCDN
Host on Cloudflare Pages
Deployment with Rsync
Deployment with Rclone
Contribute
Contribute to Hugo
Development
Documentation
Themes
Maintenance
Categories
about-hugo
↗
Apache License
asset-management
↗
Hugo Pipes Introduction
SASS / SCSS
Hugo Pipes Overview
PostProcess
PostCSS
JavaScript Building
Babel
Asset minification
Asset bundling
Fingerprinting and SRI
Creating a resource from template
Creating a resource from a string
blog
↗
Let’s celebrate Hugo’s 5th birthday
content-management
↗
Content Management
Content Organization
Syntax Highlighting
Content Formats
Diagrams
Related Content
Front Matter
Build Options
Shortcodes
Content Sections
Content Types
Archetypes
Taxonomies
Content Summaries
Links and Cross References
URL Management
Menus
Static Files
Table of Contents
Multilingual Mode
Page Resources
Image Processing
Page Bundles
contribute
↗
Contribute to the Hugo Project
Contribute to Hugo Development
Contribute to the Hugo Docs
Add Your Hugo Theme to the Showcase
developer-tools
↗
Developer Tools
Frontend Interfaces with Hugo
Editor Plug-ins for Hugo
Search for your Hugo Website
Other Hugo Community Projects
functions
↗
path.BaseName
path.Clean
lang
site
strings.Count
hmac
.RenderString
strings.HasSuffix
merge
hugo
transform.Unmarshal
path.Base
path.Dir
path.Ext
path.Join
path.Split
reflect.IsMap
reflect.IsSlice
complement
symdiff
templates.Exists
anchorize
append
group
os.Stat
strings.RuneCount
strings.Repeat
lang.Merge
errorf and warnf
float
urls.Parse
cond
fileExists
ge
gt
le
lt
ne
.AddDate
.Format
.Get
.GetPage
.HasMenuCurrent
.IsMenuCurrent
.Param
.Render
.Scratch
.Unix
absLangURL
absURL
after
apply
base64
chomp
countrunes
countwords
default
delimit
dict
echoParam
emojify
eq
findRE
first
getenv
hasprefix
highlight
htmlEscape
htmlUnescape
humanize
i18n
Image Filters
in
index
int
intersect
isset
jsonify
last
len
lower
markdownify
Math
md5
now
partialCached
plainify
pluralize
print
printf
println
querify
range
readDir
readFile
ref
relLangURL
relref
relURL
replace
replaceRE
safeCSS
safeHTML
safeHTMLAttr
safeJS
safeURL
seq
sha
shuffle
singularize
slice
slicestr
sort
split
string
strings.TrimLeft
strings.TrimPrefix
strings.TrimRight
strings.TrimSuffix
substr
time
time.Format
title
trim
truncate
union
uniq
upper
urlize
where
with
fundamentals
↗
Content Organization
Introduction to Hugo Templating
Hugo's Lookup Order
Base Templates and Blocks
Install Hugo
Directory Structure
Configure Hugo
Configure Markup
Comments
getting-started
↗
Get Started
Quick Start
Install Hugo
Basic Usage
Directory Structure
Configure Hugo
Configure Markup
hosting-and-deployment
↗
Hosting & Deployment
Hugo Deploy
Host on Render
Host on AWS Amplify
Host on Netlify
Host on Firebase
Host on GitHub
Host on GitLab
Host on Cloudflare Pages
Deployment with Rsync
Deployment with Rclone
Hosting on KeyCDN
hugo-modules
↗
Hugo Modules
Configure Modules
Use Hugo Modules
Theme Components
maintenance
↗
Maintenance
project-organization
↗
Comments
releases
↗
Hugo 0.89.4: One Bug Fix
Hugo 0.89.3: A couple of Bug Fixes
Hugo 0.89.2: A couple of Bug Fixes
Hugo 0.89.1: A couple of Bug Fixes
Fine Grained File Filters
Hugo 0.88.1: One Fix
Go 1.17 Update
Localized Time and Dates and Numbers
Hugo 0.86.1: One Bug Fix
Hugo 0.86.0: Cascade in Config
Poll based watching
Hugo 0.84.4: A couple of Bug Fixes
Hugo 0.84.3: A couple of Bug Fixes
Hugo 0.84.2: A couple of Bug Fixes
Hugo 0.84.1: A couple of Bug Fixes
Config Revamp
Hugo 0.83.1: One Bug Fix
Hugo 0.83: WebP Support!
Hugo 0.82.1: One Bug Fix
Hugo 0.82: Mostly bugfixes
Hugo 0.81.0: The Smorgasbord Edition
Hugo 0.80: Last Release of 2020!
Hugo 0.79.1: One Security Patch for Hugo on Windows
Hugo 0.79.0: Black Friday Edition
Hugo 0.78.2: A couple of Bug Fixes
Hugo 0.78.1: A couple of Bug Fixes
Hugo 0.78.0: Full Hugo Modules Support in js.Build
Hugo 0.77.0: Hugo Modules Improvements and More
Hugo 0.76.5: A couple of Bug Fixes
Hugo 0.76.4: One Bug Fix
Hugo 0.76.3: A couple of Bug Fixes
Hugo 0.76.1: One Bug Fix
Hugo 0.76.2: One Bug Fix
Multiple Cascades With Page Filters
Hugo 0.75.1: A couple of Bug Fixes
NPM Pack
Hugo 0.74.3: A couple of Bug Fixes
Hugo 0.74.2: A couple of Bug Fixes
Hugo 0.74.1: A couple of Bug Fixes
Native JS Bundler, Open API Support, Inline Partials
Summer Breeze
URL rewrites in dev server
Hugo 0.71.1: A couple of Bug Fixes
Markdown Render Hooks for Headings
JavaScript Transpiler
Hugo 0.69.2: A couple of Bug Fixes
Hugo 0.69.1: A couple of Bug Fixes
Post Build Resource Transformations
Hugo 0.68.3: A couple of Bug Fixes
Hugo 0.68.2: A couple of Bug Fixes
Hugo 0.68.1: 1 bug fix
Minify config and more!
Hugo 0.67.1: A couple of Bug Fixes
Hugo 0.67.0: Custom HTTP headers
Hugo 0.66.0: PostCSS Edition
Hugo 0.65.3: A couple of Bug Fixes
Hugo 0.65.2: A couple of Bug Fixes
0.65.0: Hugo Reloaded!
Hugo 0.65.1: A couple of Bug Fixes
Hugo 0.64.1: A couple of Bug Fixes
Mostly bugfixes …
Hugo 0.63.2: A couple of Bug Fixes
Hugo 0.63.1: A couple of Bug Fixes
Improved base templates, and faster!
Hugo 0.62.2: A couple of Bug Fixes
Hugo 0.62.1: A couple of Bug Fixes
Hugo Christmas Edition!
40K GitHub Stars Edition
Hugo 0.60.1: A couple of Bug Fixes
Now CommonMark Compliant!
Hugo 0.59.1: A couple of Bug Fixes
Hugo 0.59.0
Hugo 0.58.3: A couple of Bug Fixes
Hugo 0.58.2: A couple of Bug Fixes
Hugo 0.58.1: A couple of Bug Fixes
Image Processing Galore!
Hugo 0.57.2: A couple of Bug Fixes
Hugo 0.57.1: A couple of Bug Fixes
Hugo 0.57: The Cascading Edition
Hugo 0.56.3: A couple of Bug Fixes
Hugo 0.56.2: A couple of Bug Fixes
0.56.1: Two Bug Fixes
Hugo 0.56.0: Hugo Modules and Deployment
Hugo 0.55.6: One Bug Fix!
Hugo 0.55.5: Take Five!
Hugo 0.55.4: Some Bug Fixes
Hugo 0.55.3: A Few More Bug Fixes!
Hugo 0.55.2: Some Important Bug Fixes
0.55.1: 3 Bug Fixes
Hugo 0.55.0: The early Easter Egg Edition!
0.54.0: Mostly Bugfixes
Hugo Christmas Edition
And Now: Hugo 0.52
Hugo 0.51: The 30K Stars Edition!
Hugo 0.50: Errors so Good, You’ll Want to Fail!
Hugo 0.49.2: One Bug Fix
Hugo 0.49.1: Bug Fix
Hugo 0.49: Directory Based Archetypes
This One Goes to 11!
Two Bug Fixes
Output Minification, Live-Reload Fixes and More
The Summer of Hugo
Hugo 0.45.1: Two Bug Fixes
Hugo 0.45: Revival of ref, relref and GetPage
Hugo 0.44: Friday the 13th Edition
And Now: Hugo Pipes!
Hugo 0.42.2: One Bug Fix
Hugo 0.42.1: Two Bug Fixes
Hugo 0.42: Theme Composition and Inheritance!
Hugo 0.41: Privacy Configuration for GDPR
Hugo 0.40.3: One Bug Fix
Hugo 0.40.2: Two Bug fixes
Hugo 0.40.1: One Bug Fix
Hugo 0.40: The Revival of the Shortcodes
Hugo 0.39: The Nat King Cole Stabilizer Edition
Hugo 0.38.2: Two Bugfixes
Hugo 0.38.1: Some Live Reload Fixes
Hugo 0.38: The Easter Egg Edition
Hugo 0.37.1: One Bugfix
Hugo 0.37: Preserve PNG Colour Palette
Hugo 0.36.1: One Bugfix
Hugo 0.36: Smart Image Cropping!
Hugo 0.35: Headless Bundles!
Hugo 0.34: Pattern matching to filter images and other resources
Hugo 0.33: The New Kinder Surprise!
Hugo 0.32.4: Two bugfixes
Hugo 0.32.3: Some important bug fixes
Hugo 0.32.2: One bugfix
Hugo 0.32.1: Two bugfixes
Hugo 0.32: Page Bundles and Image Processing!
Hugo 0.31.1: One Bugfix!
Hugo 0.31: Language Multihost Edition!
Hugo 0.30.2: One More Bugfix
Hugo 0.30.1: Two Important Bugfixes!
Hugo 0.30: Race Car Edition!
Hugo 0.29: Template Metrics
Hugo 0.28: High-speed Syntax Highlighting!
Hugo 0.27.1: One bugfix
Hugo 0.27: Fast and Flexible Related Content!
Hugo 0.26: Language Style Edition
Hugo 0.25.1
Hugo 0.25
Hugo 0.24.1
Hugo 0.24
Hugo 0.23
Hugo 0.22.1
Hugo 0.22
Hugo 0.21
Hugo 0.20.7
Hugo 0.20.6
Hugo 0.20.5
Hugo 0.20.4
Hugo 0.20.3
Hugo 0.20.2
Hugo 0.20.1
Hugo 0.20
Hugo 0.19
Hugo 0.18
0.17: Hugo is going global
Hugo 0.16
Hugo 0.15
Hugo 0.14
Hugo 0.13
Hugo 0.12
Hugo 0.11
Hugo 0.10
Hugo 0.9
Hugo 0.8
Hugo 0.7
templates
↗
Templates
Introduction to Hugo Templating
Hugo's Lookup Order
Custom Output Formats
Base Templates and Blocks
Lists of Content in Hugo
Homepage Template
Section Page Templates
Taxonomy Templates
Single Page Templates
Content View Templates
Data Templates
Partial Templates
Create Your Own Shortcodes
Local File Templates
Custom 404 Page
Menu Templates
Pagination
RSS Templates
Sitemap Templates
Robots.txt File
Internal Templates
DEPRECATED - Alternative Templating Languages
Template Debugging
Markdown Render Hooks
troubleshooting
↗
Frequently Asked Questions
Build Performance
variables-and-params
↗
Variables and Params
Site Variables
Shortcode Variables
Page Variables
Pages Methods
Taxonomy Variables
File Variables
Menu Entry Properties
Git Info Variables
Sitemap Variables