{
  "$type": "site.standard.document",
  "canonicalUrl": "https://devlog.croft.click/2025/10/27/slug-mapping-routing",
  "description": "Configurable slug-to-publication mapping and slug param matcher for clean URLs.",
  "path": "/2025/10/27/slug-mapping-routing",
  "publishedAt": "2025-10-27T20:00:47.000Z",
  "site": "at://did:plc:ofrbh253gwicbkc5nktqepol/site.standard.publication/3mlen2qhzrt2s",
  "tags": [
    "atproto",
    "website"
  ],
  "textContent": "Slug mapping\n\nAdded a configurable slug-to-publication mapping system. Publications can now be accessed via human-readable slugs that map to AT Protocol rkeys. Slugs are normalised and extracted to a data module.\n\nRobust routing\n\nAdded a slug param matcher and global error page for robust routing. Invalid slugs and missing publications now get proper error pages instead of 500s.",
  "title": "Website — Slug Mapping and Robust Routing"
}