Refactor: add slug param matcher and global error page for robust routing
- Added src/params/slug.ts param matcher to validate slugs against
configured mappings before route load, ensuring only valid slugs
resolve.
- Introduced src/routes/+error.svelte for global error handling with
dynamic messages and contextual styling for common HTTP statuses
(404, 403, 500, 503).
- Updated slug-based routes ([slug], [slug]/rss, [slug]/atom, [slug]/[rkey])
to use new [slug=slug] syntax for parameter validation.
- Added defensive checks for invalid or missing slugs, returning
appropriate 400 responses instead of silently failing.
- Improved resilience and user feedback for invalid or missing routes.
This refactor strengthens routing reliability, improves error visibility,
and introduces consistent, user-friendly error handling across the website.