This repo is a fully static website (HTML/CSS/JS) with a small Python generator for blog posts and list pages.
- Blog content:
blog/<slug>/<slug>.md - Templates:
templates/(shared head snippets intemplates/partials/) - Frontend assets:
styles.css,tokens.css,css/,blog.js,js/
Generated outputs are committed (static hosting): index.html, 404.html, blog/<slug>/index.html, blog/index.html, feed.xml, sitemap.xml, blog/posts.json.
- Install deps:
pip3 install -r requirements.txt - Regenerate everything:
python3 generate_blog.py --all - Regenerate one post:
python3 generate_blog.py --post <slug> [--force] - Re-render non-post pages only:
python3 generate_blog.py --pages - Serve locally:
python3 -m http.server 8000then openhttp://localhost:8000
backend/ is a separate Flask service that proxies live view counts from Plausible.