feat: per-language slugs and root-key resolution for blog posts
Each language file may declare its own localized slug (the folder name stays the canonical slug). A post's resolvable set: canonical folder slug to the default language, localized slugs to their language. lib/keys.js gathers the reserved root names (routes, legacy pages, public/ files, hardcoded floor) and fails loudly on a colliding or twice-claimed key.
Showing
lib/keys.js
0 → 100644
Please
register
or
sign in
to comment