lib/blog.js now reads content/blog/<slug>/ (meta.md + fr.md/en.md): listing shows the requested language with fallback to the first available one, getBlogPost(slug, lang) reports untranslated posts via an untranslated field, and the draft/share accessors keep parsing <slug>-<token> from meta.md. Draft filtering stays keyed on the shared draftsVisible() rule, now exported from lib/content. /blog/[slug] renders the default language with an FR/EN switch when a post exists in both; a new /blog/[slug]/[lang] route serves the other language (static params only mint languages with content). A missing language renders an honest banner linking to the one that exists. yarn post scaffolds the folder shape. Flat collections are untouched.
| Name |
Last commit
|
Last update |
|---|---|---|
| .claude/workflows | Loading commit data... | |
| .cursor/rules | Loading commit data... | |
| .yarn | Loading commit data... | |
| app | Loading commit data... | |
| components | Loading commit data... | |
| content | Loading commit data... | |
| docs | Loading commit data... | |
| lib | Loading commit data... | |
| public | Loading commit data... | |
| screenshots | Loading commit data... | |
| scripts | Loading commit data... | |
| styles | Loading commit data... | |
| tasks | Loading commit data... | |
| tests | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .icp-resume.js | Loading commit data... | |
| .nvmrc | Loading commit data... | |
| .pnp.cjs | Loading commit data... | |
| .pnp.loader.mjs | Loading commit data... | |
| CHANGELOG.md | Loading commit data... | |
| CLAUDE.md | Loading commit data... | |
| DEPENDENCIES_TO_INSTALL.md | Loading commit data... | |
| DESIGN.md | Loading commit data... | |
| PRODUCT.md | Loading commit data... | |
| README.md | Loading commit data... | |
| TODO.md | Loading commit data... | |
| dependencies-to-install.md | Loading commit data... | |
| jest.config.js | Loading commit data... | |
| next-env.d.ts | Loading commit data... | |
| next.config.js | Loading commit data... | |
| package.json | Loading commit data... | |
| playwright.config.ts | Loading commit data... | |
| postcss.config.mjs | Loading commit data... | |
| tsconfig.json | Loading commit data... | |
| yarn.lock | Loading commit data... |