| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| content | ||
| blog.js | ||
| hydras.js | ||
| markdown.ts | ||
| oblique.js | ||
| poems.js | ||
| talks.js |
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 |
|---|---|---|
| .. | ||
| content | Loading commit data... | |
| blog.js | Loading commit data... | |
| hydras.js | Loading commit data... | |
| markdown.ts | Loading commit data... | |
| oblique.js | Loading commit data... | |
| poems.js | Loading commit data... | |
| talks.js | Loading commit data... |