Project Setup Overview
foxynet
What’s in place
- Hugo extended + Ananke:
config/_default/hugo.tomlpoints at the vendored Ananke theme (themes/gohugo-theme-ananke), keeps robots.txt and sitemap enabled, and sets blog permalinks like/blog/2024/05/my-post/. - Site params:
config/_default/params.tomlholds metadata (description, author, social handles) plus slots for SEO defaults and analytics IDs (Plausible/GA). Values are mostly placeholders until real links are added. - Navigation:
config/_default/menus.tomldefines Home, Blog, and About links; extend this when more pages land. - Content structure: The default archetype (
archetypes/default.md) includes front matter for title, date, draft, description, summary, tags, and categories. Content lives undercontent/with_index.mdfor the homepage and sample posts incontent/blog/.
Build and deploy
- Local dev: Run
hugo server -Dfrom the repo root to serve drafts and iterate locally. - CI:
.github/workflows/hugo.ymlchecks pushes/PRs onmainusing the latest Hugo extended and runshugo --gc --minify. - Amplify option:
amplify.ymlinstalls Hugo 0.152.2, builds with a local cache (.hugo_cache), and publishespublic/. Use this for private-repo hosting or switch to GitHub Pages via the workflow.
Guardrails to keep
- Follow coding/content standards in
CODING_STANDARDS.md(front matter completeness, semantic HTML, tidy formatting). - Update
PLAN.mdwhen scope changes and keepAGENTS.mdownership notes in mind. - Before deploying, run
hugo --gc --minifyand ensurehugo serveris clean locally.