I've been moving my blog to Astro and needed to add a slug
property to each file. My files had a permalink
that included the slug but I needed just the slug as a standalone property.
✅ Script did exactly what I needed ✨
(With my babashka scripting context window attached)