Hugo Templates
My tests
Params.listthumbvisible: true
.Site.Params.listthumbvisible: true
default listthumbvisible true
.Params.mathjax:
.Site.Params.mathjax: false
default mathjax falsePage contents
Variables
Custom Variables
Site Title: It's All Downhill From Here
Page Title: Template Page
Page Kind: page
Page Type: template-playground
Page BundleType:
Page Section: playground
Page Layout: page
Page Date: 2022-12-16 00:00:00 +0000 UTC
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
pageLoops
All website pages:- Colophon - How this Site is Made
- My Clubs and Activities
- About Bill Bourne - Life Behind Bars
- About this site
- Categories
- Hugo
- Hugo Markdown Image Handling
- Hugo's Markdown Formatting Tests
- Markdown
- Pandoc
- Tags
- Template Page
- The world is getting better
- Software
- Timeless Rules of Software Development
- Equipment
- Tires - Be Faster, Safer, More Comfortable
- Crashing
- How to Crash
- How not to Fall (at low speed)
- Every Cyclist Crashes - Even You!
- After You Crash & Your Helmet Saves Your Head!
- The Joy of Recreational Track Cycling
- Velodrome Basics
- Ontario Track Cycling Resources
- Essential Rules of the Track
- Markdown Formatting
- About this site
- Cycling Education & Safety
- Cycling Safety
- Hugo's Markdown Extensions
- Technology
- The Joy of Track Cycling
- Track Nut - The Fun of Ontario Track Cycling
- Using ASCIIMath and MathJax
- Welcome
Range context- Colophon - How this Site is Made @ It's All Downhill From Here
- My Clubs and Activities @ It's All Downhill From Here
- About Bill Bourne - Life Behind Bars @ It's All Downhill From Here
- About this site @ It's All Downhill From Here
- @ It's All Downhill From Here
- @ It's All Downhill From Here
- Categories @ It's All Downhill From Here
- Hugo @ It's All Downhill From Here
- Hugo Markdown Image Handling @ It's All Downhill From Here
- Hugo's Markdown Formatting Tests @ It's All Downhill From Here
- Markdown @ It's All Downhill From Here
- Pandoc @ It's All Downhill From Here
- Tags @ It's All Downhill From Here
- Template Page @ It's All Downhill From Here
- @ It's All Downhill From Here
- The world is getting better @ It's All Downhill From Here
- Software @ It's All Downhill From Here
- Timeless Rules of Software Development @ It's All Downhill From Here
- Equipment @ It's All Downhill From Here
- Tires - Be Faster, Safer, More Comfortable @ It's All Downhill From Here
- Crashing @ It's All Downhill From Here
- How to Crash @ It's All Downhill From Here
- How not to Fall (at low speed) @ It's All Downhill From Here
- Every Cyclist Crashes - Even You! @ It's All Downhill From Here
- After You Crash & Your Helmet Saves Your Head! @ It's All Downhill From Here
- The Joy of Recreational Track Cycling @ It's All Downhill From Here
- Velodrome Basics @ It's All Downhill From Here
- Ontario Track Cycling Resources @ It's All Downhill From Here
- Essential Rules of the Track @ It's All Downhill From Here
- Markdown Formatting @ It's All Downhill From Here
- @ It's All Downhill From Here
- About this site @ It's All Downhill From Here
- Cycling Education & Safety @ It's All Downhill From Here
- Cycling Safety @ It's All Downhill From Here
- Hugo's Markdown Extensions @ It's All Downhill From Here
- Technology @ It's All Downhill From Here
- The Joy of Track Cycling @ It's All Downhill From Here
- Track Nut - The Fun of Ontario Track Cycling @ It's All Downhill From Here
- Using ASCIIMath and MathJax @ It's All Downhill From Here
- Welcome @ It's All Downhill From Here
Debugging
&hugolib.SiteInfo{Authors:page.AuthorList(nil), Social:hugolib.SiteSocial(nil), hugoInfo:hugo.Info{CommitHash:"724d5db5", BuildDate:"2021-07-05T10:46:28Z", Environment:"production"}, title:"It's All Downhill From Here", RSSLink:"/index.xml", Author:map[string]interface {}{"avatar":"img/avatar.png", "bio":"Bill Bourne is a cyclist.", "name":"Bill Bourne"}, LanguageCode:"en-us", Copyright:"", permalinks:map[string]string{}, LanguagePrefix:"", Languages:langs.Languages{(*langs.Language)(0xc0006ac9a0)}, BuildDrafts:false, canonifyURLs:false, relativeURLs:false, uglyURLs:(func(page.Page) bool)(0x138fe40), owner:(*hugolib.HugoSites)(0xc0005bc900), s:(*hugolib.Site)(0xc0005acd80), language:(*langs.Language)(0xc0006ac9a0), defaultContentLanguageInSubdir:false, sectionPagesMenu:""}