Blog: Hugo Config Detail

Level 3 (Detail) — Site configuration reference.

Site Config

File: config/_default/hugo.toml

KeyValueDescription
themeblowfishHugo theme
titletazlab.net BlogSite title
baseURLhttps://blog.tazlab.net/Production URL
defaultContentLanguageenEnglish is default
buildDraftsfalseDrafts not built in production
buildFuturefalseFuture-dated posts not built
summaryLength0No auto-summary
pagination.pagerSize100Posts per page

Taxonomies

TaxonomyIdentifier
Tagstags
Categoriescategories
Authorsauthors
Seriesseries

Weighted by: tags (100), categories (100), series (50), authors (20), date (10), fragmentrefs (10).

Language Config

File: config/_default/languages.en.toml and languages.it.toml

KeyEnglishItalian
languageCodeenit
weight12
titleTerraforming the CloudTerraforming the Cloud
params.author.nameRoberto TazzoliRoberto Tazzoli
params.author.headlineHomelab Platform Engineer & Kubernetes EnthusiastHomelab Platform Engineer & Appassionato di Kubernetes

Theme Params

File: config/_default/params.toml

Appearance

KeyValueEffect
colorSchemeblowfishTheme color scheme
defaultAppearancedarkDefault dark mode
autoSwitchAppearancetrueFollows system preference
header.layoutfixed-fill-blurHeader style
homepage.layoutbackgroundHomepage with background image

Features

KeyValueEffect
enableSearchtrueClient-side search
enableCodeCopytrueCopy button on code blocks
showCommentstrueCusdis widget on articles
showTableOfContentstrueTOC in articles
showReadingTimetrueEstimated reading time
showWordCounttrueWord count in articles

Cusdis

[cusdis]
  enabled = true
  appId = "6968bcd3-329d-46bb-95e2-18a2148ff233"
  host = "https://cusdis.com"

Outputs

Output TypeFormats
HomeHTML, RSS, JSON, robots
SectionHTML, RSS, JSON
RegularHTML
TaxonomyHTML, RSS
TermHTML, RSS

See Also