Two Hugo sites live in this repository:
codewrecks/: English siteitablog/: Italian site
From a clean clone:
git submodule update --init --recursive
./scripts/install-hugo.shRun the English site:
cd codewrecks
../bin/hugo server -DRun the Italian site:
cd itablog
../bin/hugo server -DThe repository pins Hugo Extended 0.148.1. Use ./bin/hugo instead of any system-wide hugo binary.
The Italian site (itablog/) supports two built-in palettes:
gunmetal: default, used for the live Italian themebronze: alternate muted bronze palette kept in code for comparison
Theme tokens live in itablog/static/css/site.css, and the active theme is selected by itablog/static/js/theme-switcher.js.
Quick switching for local A/B comparison:
http://localhost:1314/itablog/?theme=gunmetal
http://localhost:1314/itablog/?theme=bronzeThe selected theme is persisted in localStorage under itablog-theme.
To clear the override and go back to the configured default:
http://localhost:1314/itablog/?theme=resetThe configured default theme is set in itablog/config.toml under [params.appearance].defaultTheme.