Hugo Templates
Variables
Custom Variables 
Site Title: Acme Corporation 
Page Title: Template Page 
Data Types 
Integer: 2 
Float: 3.14 
Boolean: false 
String: hello 
Slice: [foo bar buzz] 
Dict: map[h:20 key1:val1 w:10] 
Time: 2020-01-01 00:00:00 +0800 +0800 
Scratch: {map[message:Hello] {{0 0} 0 0 0 0}} 
Getter: Hello 
Updated: Hello World 
Dict: map[english:Hello World french:Bonjour le monde] 
 Functions 
Boolean Functions
5 < 3 : false 
5 > 3 : true 
5 ≥ 3 : true 
5 ≤ 3 : false 
5 = 3 : false 
5 ≠ 3 : true 
Logical Functions
true and false : false 
true or false : true 
not true : false 
Arithmetic Functions
2 + 3 : 5 
2 - 3 : -1 
2 x 3 : 6 
2 ÷ 3 : 0 
2 ÷ 3 : 0.6666666666666666 
2 % 3 : 2 
2 % 3? : false 
Nested Functions
5/(2 + (3 x 2.0)) : 0.625 
Piped Functions
5/(2 + (3 x 2.0)) : 0.625 
Nested + Piped Hybrid
5/(2 + (3 x 2.0)) : 0.625 
 Conditionals 
If
false is false.
With
test is the value of the condition
Cond
page
Loops
All website pages:
-  About Us
-  manufacturing
-  Our Manufacturing Process Part IV
-  Series
-  circle
-  manufacturing
-  manufacturing
-  Our Manufacturing Process Part III
-  Tags
-  Our Manufacturing Process Part II
-  square
-  line
-  Our Manufacturing Process Part I
-  
-  
-  
-  
-  
-  Acme Corporation
-  Building Squares
-  Categories
-  Circle
-  circle
-  Contact Us
-  Curve
-  Design
-  general
-  line
-  Privacy Policy
-  product
-  public
-  shape
-  shape
-  Shaper
-  square
-  Square License
-  style
-  Template Page
-  Terms of Use
-  triangle
-  Tropical triangles
Range context
-  About Us @ Acme Corporation
-  manufacturing @ Acme Corporation
-  Our Manufacturing Process Part IV @ Acme Corporation
-  Series @ Acme Corporation
-  circle @ Acme Corporation
-  manufacturing @ Acme Corporation
-  manufacturing @ Acme Corporation
-  Our Manufacturing Process Part III @ Acme Corporation
-  Tags @ Acme Corporation
-  Our Manufacturing Process Part II @ Acme Corporation
-  square @ Acme Corporation
-  line @ Acme Corporation
-  Our Manufacturing Process Part I @ Acme Corporation
-  @ Acme Corporation
-  @ Acme Corporation
-  @ Acme Corporation
-  @ Acme Corporation
-  @ Acme Corporation
-  Acme Corporation @ Acme Corporation
-  Building Squares @ Acme Corporation
-  Categories @ Acme Corporation
-  Circle @ Acme Corporation
-  circle @ Acme Corporation
-  Contact Us @ Acme Corporation
-  Curve @ Acme Corporation
-  Design @ Acme Corporation
-  general @ Acme Corporation
-  line @ Acme Corporation
-  Privacy Policy @ Acme Corporation
-  product @ Acme Corporation
-  public @ Acme Corporation
-  shape @ Acme Corporation
-  shape @ Acme Corporation
-  Shaper @ Acme Corporation
-  square @ Acme Corporation
-  Square License @ Acme Corporation
-  style @ Acme Corporation
-  Template Page @ Acme Corporation
-  Terms of Use @ Acme Corporation
-  triangle @ Acme Corporation
-  Tropical triangles @ Acme Corporation
Debugging
&hugolib.SiteInfo{Authors:page.AuthorList(nil), Social:hugolib.SiteSocial(nil), hugoInfo:hugo.Info{CommitHash:"1798bd3f", BuildDate:"2021-12-23T15:33:34Z", Environment:"production"}, title:"Acme Corporation", RSSLink:"https://chapter-10-05.hugoinaction.com/index.xml", Author:map[string]interface {}{"email":"contact@example.org", "facebook":"https://facebook.com/example", "hours":"**Mon-Fri:** 9:00AM - 6:00PM, ET", "location":"New York", "name":"Acme Corporation", "phone":"(999) 999-9999", "twitter":"https://twitter.com/example"}, LanguageCode:"en-us", Copyright:"", permalinks:map[string]string{}, LanguagePrefix:"", Languages:langs.Languages{(*langs.Language)(0xc0007d20d0)}, BuildDrafts:false, canonifyURLs:false, relativeURLs:false, uglyURLs:(func(page.Page) bool)(0x163ea20), owner:(*hugolib.HugoSites)(0xc0007b00b0), s:(*hugolib.Site)(0xc000794fc0), language:(*langs.Language)(0xc0007d20d0), defaultContentLanguageInSubdir:false, sectionPagesMenu:""}
Image Processing & Manipulation
 Original
Original
 Resize
Resize
 Fit
Fit
 Fill Top
Fill Top
 Fill Bottom
Fill Bottom
 Fill center
Fill center
 Fill smart
Fill smart
 Brightness -40
Brightness -40
 ColorBalance 100 200 300
ColorBalance 100 200 300
 Colorize 200 100 50
Colorize 200 100 50
 Contrast 30
Contrast 30
 Gamma 3
Gamma 3
 GaussianBlur 80
GaussianBlur 80
 Grayscale
Grayscale
 Hue 100
Hue 100
 Invert
Invert
 Pixelate 100
Pixelate 100
 Pixelate 100
Pixelate 100
 Saturation 80
Saturation 80
 Sepia 200
Sepia 200
 Sigmoid 20 10
Sigmoid 20 10
 UnsharpMask 40 1.2 0.5
UnsharpMask 40 1.2 0.5