- 06 Oct, 2026 11 commits
-
-
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.
PLN (Algolia) authored -
Each post is now a folder: meta.md (shared metadata) + one file per language (fr.md / en.md) carrying the localized title and body. Language files go where the existing prose actually is: hello-world and hello-world-again are French, next is English. Share tokens (8x6nki, szm8ld) move to meta.md so the unlisted /blog/d/ URLs keep working; the post image stays in public/images (no move needed).
PLN (Algolia) authored -
docs: article contract gains embeds — build-time code from git.nech.pl/github/raw, directive islands
PLN (Algolia) authored -
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
/admin serves Sveltia CMS from a pinned jsdelivr bundle (0.229.0) with a cms-config-url link to ./config.yml; HTML comment documents the Decap fallback (same config, swap the script). Backend points at git.nech.pl with base_url + api_root for the self-hosted instance, PKCE app_id filled in, implicit grant noted as fallback. Blog collection fields match the existing frontmatter; media folder public/images/blog with public_path /images/blog. scripts/new-share-token.mjs prints a random 6-char token for the unlisted draft links.
PLN (Algolia) authored -
Drafts with a well-formed `share` token in frontmatter ship to prod at /blog/d/<slug>-<token>: robots noindex/nofollow, no OpenGraph, token re-checked at render so a guessed slug renders nothing, tokenless drafts get no unlisted path. Article markup factored into a shared PostArticle; the public listing and /blog/[slug] keep filtering drafts out. Also: static export requires at least one prerendered variant per dynamic route, and prod currently has zero published posts — emit a 404 sentinel param so the export still ships (build broke at HEAD for this reason).
PLN (Algolia) authored -
PLN (Algolia) authored
-
PLN (Algolia) authored
-
- 27 Sep, 2026 4 commits
-
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
Same grammar as Clarté TDAH (clarte kit: ProgressHeader, QuestionCard, OptionPills, useDigitKeys), linear 25-item flow: consent-gated home with optional gender, intro, auto-advancing questions, recap with jump, results with total band + percentiles vs autistic and non-autistic norms, five interpretation caveats, copyable consult sentence, jspdf report. FR at /tsa, EN at /asd, mirroring /tdah + /adhd.
PLN (Algolia) authored -
25 items Likert 1-7 (verbatim Hull 2019 in EN, our translation in FR, flagged non-validated), items 3/12/19/22/24 reversed, subscales compensation/masking/assimilation. Percentiles via normal CDF on the Hull 2020 gender-matched norms; Baker 2024 descriptor bands on the total score. Storage contract catq:v1, same discipline as clarte:v1.
PLN (Algolia) authored
-
- 26 Sep, 2026 5 commits
-
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
- 25 Sep, 2026 1 commit
-
-
PLN (Algolia) authored
-
- 23 Sep, 2026 3 commits
-
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
- 22 Sep, 2026 2 commits
-
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
- 21 Sep, 2026 7 commits
-
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
- 06 Sep, 2026 7 commits
-
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
PLN (Algolia) authored
-
Adds remark-gfm/directive/parse/rehype, rehype-pretty-code, shiki, unified, unist-util-visit; retires remark/remark-html. Under PnP there are no real node_modules dirs — cache zips live under paths *containing* /node_modules/, so jest's transformIgnorePatterns now only excludes the css module mocks, keeping the ESM-only unified chain transformable.
PLN (Algolia) authored -
The site ships as flat files (out/) served by self-hosted nginx; every route prerenders at build. next/image ships originals (unoptimized) — optimization needs a server. The two parvagues revalidate = 60 exports go with ISR; rebuild-on-push replaces it.
PLN (Algolia) authored
-