Add selectable home layouts and reorganize admin settings

Add selectable home layouts and reorganize admin settings

#5 in tonybierman/dx-blog — merged 2026-05-29

Summary

  • Add a HomeLayout enum (12 registry-derived layout kinds) wired through the public home page, with an admin selector that persists the active layout in site_settings.
  • Reorganize the admin settings surface into three sidebar sections:
    • Settings — new Site Title and Site Tagline fields, surfaced in the header (tagline as a ≥sm subtitle) and footer.
    • Appearance — theme accent hue + home layout.
    • Taxonomy — categories + tags.
  • Fix the bento grid overflow: rows now grow to fit card content (auto-rows-[minmax(180px,auto)]) and tiles fill their cell via a new PostCardView { fill: true } prop.
  • Add a justfile with serve / clean-assets / fresh recipes.

Notes

  • New public server fns get/set_site_title and get/set_site_tagline follow the existing per-key site_settings pattern (reads public, writes gated by SETTINGS_WRITE). No DB migration needed — the table already exists.
  • Both targets type-check: --features server,sqlite and --features web --target wasm32-unknown-unknown.

🤖 Generated with Claude Code

Last updated 2026-05-30