A simple, static blog — plain HTML files, one shared stylesheet, no build step.
.
├── index.html # Home page (list of posts)
├── about.html # About page
├── experiments.html # Experiments page (image tiles for games & tools)
├── 404.html # Not-found page
├── posts/ # One HTML file per post
│ └── hello-world.html
├── css/style.css # All styling (light + dark); bump ?v= in every page when it changes
├── js/theme.js # Dark mode toggle
├── assets/og/ # Per-page social-share cards (generated)
├── assets/experiments/ # 960x540 tile images for experiments.html
├── scripts/generate-og.mjs # Builds the social cards
├── CNAME # Your custom domain (for GitHub Pages)
└── .nojekyll # Tells GitHub Pages to serve files as-is
-
Copy
posts/hello-world.htmltoposts/your-post-name.html. -
Change the
<title>, the<h1>, the date, and the body text. -
Add a link to it near the top of the post list in
index.html:<li> <a href="/posts/your-post-name.html">Your title</a> <span class="post-meta">Month DD, YYYY</span> <p class="post-excerpt">One-line summary.</p> </li>
-
Generate the social-share card so the post has its own branded preview when shared on X, LinkedIn, etc. (uses the post's
og:titleas the headline andog:descriptionas the subhead):node scripts/generate-og.mjs
This regenerates
assets/og/<slug>.pngfor every page and points each page'sog:image/twitter:imageat its own card. Requiresrsvg-convert(install once withbrew install librsvg). To rebuild only some cards, name the pages:node scripts/generate-og.mjs posts/your-post-name.html. -
Save, commit, and push. It's live in a minute.
- Save a 16:9 image, 960x540 JPEG, as
assets/experiments/<slug>.jpg. Game tiles use the hub's original artwork (papagel/games-hub,assets/thumbs/fix-*.jpg). - Copy one
<li>inexperiments.htmland change the link, image, title, description, and host line.
The explorer used to live at /biases/. Since 2026-10-01 it has its own domain,
thebiasmap.com, built from
papagel/cognitive-bias into
papagel/thebiasmap. What's left under biases/ here are small
pages that forward every old address to the same path on thebiasmap.com (keeping # links), made by
blog-redirects.py in the cognitive-bias repo. Don't edit them by hand.
python3 -m http.server 8000
# open http://localhost:8000-
Create a new repository on GitHub.
-
Push this folder:
git remote add origin https://github.com/<you>/<repo>.git git push -u origin main
-
In the repo: Settings → Pages → Build and deployment, set Source = Deploy from a branch, Branch =
main/ root, then Save. -
Put your domain in the
CNAMEfile (already scaffolded — replace the placeholder), and in Settings → Pages → Custom domain. -
At your domain registrar, point DNS at GitHub Pages:
- Apex domain (
example.com): fourArecords →185.199.108.153,185.199.109.153,185.199.110.153,185.199.111.153 - Subdomain (
blog.example.com): oneCNAMErecord →<you>.github.io
- Apex domain (
-
Wait for DNS, then enable Enforce HTTPS.
## Article hero images
Each published article has a 2:1 editorial illustration below its title and date,
before the audio player. Assets live in `assets/heroes/<slug>.webp`; the shared
`article-hero` class keeps them aligned to the article width. Retain explicit
image dimensions and descriptive alt text when adding a new hero.
Art direction: tactile cubist oil painting with restrained surrealism,
ultramarine blue, terracotta, ochre and chalk tones. Use one readable metaphor
from the article's argument, with understated visual humour where appropriate.
Prefer simple compositions and meaningful negative space; avoid embedded titles.
The illustrations are AI-generated. Social-sharing cards remain in `assets/og/`.