hugo-template-guidance
Template Guidance
Handbook for this theme (Hugo Extended + Hugo Modules; styling is Tailwind v4, Bootstrap 5, or a hybrid — verify before assuming), assuming the standard project-setup layout (site at root, theme vendored in themes/<theme>/ — the single folder under themes/; see references/detect-mode.md to find its name). Progressive disclosure: read the matching references/ file before acting.
If
exampleSite/hugo.tomlexists, the repo is still in theme-setup — run<pm> project-setupfirst (seereferences/detect-mode.md) before using anything below.Package manager:
<pm>is a placeholder for this project's package manager. Detect it from a lock file (pnpm-lock.yaml,package-lock.json,yarn.lock,bun.lock/bun.lockb) orpackage.json'spackageManagerfield before running any command below — don't assumepnpm. Details:references/script-usage.md.