CLAUDE.md — 11h.dev

Overview

11h.dev is a personal blog by Alexis Blandin (alxsbn). Jekyll static site, hosted on GitHub Pages.

Technical Stack

  • Platform: Jekyll static site generator
  • Theme: Minima v2.5.1 (GitHub Pages version, not v3.x)
  • Skin: auto (dark mode support)
  • Markdown: Kramdown
  • Hosting: GitHub Pages
  • Domain: https://11h.dev
  • Languages: Bilingual — French (default) + English

GitHub Pages Constraints

GitHub Pages ships Minima v2.5.1, not v3.x.

Feature Minima 3.x Minima 2.5.1 (GitHub Pages)
custom-head.html hook Auto-included Requires manual override
Dark mode Built-in Via skin: auto

To include custom head content: _includes/head.html copies Minima’s default and adds `

`.

Project Structure

_posts/
  en/          # English posts
  fr/          # French posts
_layouts/
  home.html    # Homepage (bilingual, featured post + grid)
  post.html    # Post layout (header image, share buttons, author bio)
  work.html    # Work frame: site header on top, the app of `app:` in a full-height iframe
  works.html   # Travaux / Work listing (every page with `work: true`)
_includes/
  head.html          # Minima head override
  custom-head.html   # OG tags, hreflang, Google Fonts
  favicon.html       # Favicon links; include it in every layout: none page
  header.html        # Nav, language toggle, dark mode toggle
  google-analytics.html
  youtube.html
_data/
  translations.yml   # UI strings (FR/EN)
assets/
  main.scss
  app-theme.js       # Shared light/dark theme for apps (reads localStorage.theme, follows the header toggle)
  images/            # Post images
  alexis-photos/     # Author photos
  favicon-32.png     # Square favicon (root favicon.ico holds 16/32/48)
  apple-touch-icon.png
  11h-logo.png       # Header logo (not square, do not use as favicon)
en/
  index.html         # EN homepage
  about.md           # EN about page
fr/
  index.html         # FR homepage
  about.md           # FR about page
scripts/
  check-bilingual.sh # Verifies FR/EN post parity

Works (Travaux)

Talks, long reads and apps live in two parts:

  • The frame, work/<slug>.html or talk/<slug>.html: front matter only, layout: work, app: /apps/<slug>/, work: true and the card fields (title, title_en, date, excerpt, excerpt_en, kind, header_image). The layout shows the site header (menu, language, RSS, theme toggle) above the app.
  • The app, apps/<slug>/index.html: a standalone page. Long reads build on apps/longread/longread.css and longread.js.

Every app loads <script src="/assets/app-theme.js"></script> in its <head> and must work in both themes. The header toggle writes localStorage.theme; the script mirrors it on <html data-theme> and listens to the storage event, so the app inside the iframe switches live. Write colors as CSS variables with a dark block (@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {…} } plus :root[data-theme="dark"] {…}), never as hex values in rules. The longread base provides --bg, --bg-rgb, --paper, --paper-rgb, --card, --ink, --muted, --line, --accent, --on-accent, --c1 to --c4. Dark values follow the site: background #1a1a1a, coral accent.

apps/storydeck-agentic/talk.html is generated: edit index.html, engine.js or cellular.js, then run bash apps/storydeck-agentic/build.sh (it inlines assets/app-theme.js).

Post Format

Posts live in _posts/en/ and _posts/fr/. Naming: YYYY-MM-DD-title-slug.md.

Front matter:

---
layout: post
title: "Post Title"
date: YYYY-MM-DD
categories: [category1, category2]
excerpt: 'Short description for preview'
header_image: "https://images.unsplash.com/photo-XXXXX?w=1600&q=80"
header_image_alt: "Image description"
header_image_credit: "Photographer Name"
header_image_credit_url: "https://unsplash.com/@photographer"
header_image_source: "Unsplash"
header_image_source_url: "https://unsplash.com"
ref: post-slug-identifier
lang: en
---
  • ref: links FR and EN versions of the same post (must match)
  • lang: en or fr
  • YAML quoting: use single quotes if excerpt contains double quotes: excerpt: 'Be "data-driven"'
  • If it also has apostrophes, double them: excerpt: 'It''s "data-driven"'

Header Images

Every post needs a header image. See _layouts/post.html for rendering.

Field Required Description
header_image Yes URL (Unsplash ?w=1600&q=80) or local /assets/images/...
header_image_alt Yes Alt text for accessibility
header_image_credit Recommended Photographer’s name
header_image_credit_url Recommended Photographer’s profile URL
header_image_source Optional Source name (e.g., “Unsplash”)
header_image_source_url Optional Source website URL

Plugins

  • jekyll-feed (RSS at /feed.xml)
  • jekyll-seo-tag
  • jekyll-sitemap
  • jekyll-redirect-from

Author

  • Name: Alexis Blandin (alxsbn)
  • Email: [email protected]
  • GitHub: https://github.com/alxsbn
  • LinkedIn: https://linkedin.com/in/alexisblandin
  • Instagram: https://www.instagram.com/alxisblandin

Git Workflow

  • Main Branch: production
  • Feature Branches: claude/feature-name-sessionID
  • Commit with descriptive messages
  • Push to feature branches before merging

Editorial Content & Authoring

Posts are drafted in the author’s Obsidian vault (notes type: blogpost) and published from there via the blog-publish skill, which generates the paired FR/EN files, runs the checks below, and opens a PR. The editorial brain (writing voice, banned patterns, bilingual rule, rhythm & flow, formatting) and the writing skills (impactful-writing, editorial-review, editorial-audit, jekyll-blog-post, unsplash-header-images) live in the author’s personal Claude config (~/.claude/skills/), not in this repo. This repo keeps only build-time tooling: the llm.txt hook and check-bilingual.sh.

Every post MUST exist in both _posts/fr/ and _posts/en/, linked by a matching ref front-matter field. After creating or modifying any post, run:

scripts/check-bilingual.sh

If it fails, create the missing version before committing.