v0.2.0 — Government Section
What's New
Government Section
- New
/governmentand/government/:categoryroutes with a dedicatedGovernmentlisting page - Government content system under
content/government/(departments: executive, legislative) src/data/government.yaml— top-level government category definitions- Navigation updated: main nav Government item links to
/government/departments Documentpage extended to serve both services and government content
Companion JSON for Dynamic Content
Markdown pages can now have an optional companion .json file (same slug) that supplies {PLACEHOLDER} token values — ideal for official names, titles, and dates that vary per LGU deployment. Resolution order: JSON value → VITE_<KEY> env var → unchanged token.
Other Changes
- OG image template redesigned for improved open graph previews
markdownLoader.tsandyamlLoader.tsrefactored to support both content treesNavbar,Breadcrumbs,Section, andGovernmentActivitySectionupdated- Locale strings updated
Documentation
README.md— project structure and setup steps updatedCLAUDE.md— routing, content system, and JSON companion file documentedCONTENT-MANAGEMENT.md— government pages section, JSON data files, placeholder workflowCONTENT-GUIDE.md— department page template and dynamic content section added
Full Changelog
https://github.com/iyanski/betterlocalgov/blob/main/CHANGELOG.md