Entry #5: Messing with EmDash CMS & Astro

While taking a break from heavy Dev work and stepping back from this site, I did have the opportunity to play around with EmDash CMS locally.

Instead of building another generic blog site, I put together a quick hospitality/restaurant demo site to see how EmDash CMS handles custom collections, structured data, and Astro integration.

What I built:

  • A JavaScript-powered food menu system that pulls entries directly from an EmDash Collection.
  • A custom allergen mapping setup handling the 14 statutory UK allergens (gluten, dairy, nuts, etc.).
  • Instant client-side filtering by diary tags, courses, and search terms.
  • A “Strict” mode toggle that changes state between direct ingredient inclusions (contains) vs. factory trace warnings (mayContain).

What I Liked About EmDash CMS:

  • Clean Astro Integration: Querying data directly with helpers like getEmDashCollection() feels native to Astro rather than fighting external headless CMS API.
  • Live inline Metadata: Passing inline editing props straight trhough the rendered elements makes setting up visual editing surprisingly pain-free.
  • Type-Safe: Being able to lean on TypeScript definitions without wresting heavy PHP or WordPress legacy bloat is a massive breath of fresh air.

I’m parking the code here for now while it’s in a fun, working state. It’s just nice to tinker with modern tooling for the sake of it without needing to polish every edge case for a production client.

Expect some random music production posts or general life updates in upcoming entries.