Blog du Yax
Find a file
2026-01-10 16:43:51 +01:00
docker Git clone from zaclys 2025-03-30 12:08:54 +02:00
layout Remove unexpected <p> tag in RSS description 2025-09-24 18:30:50 +02:00
notes Add Fedora BTRFS chroot 2025-12-15 18:57:08 +01:00
posts Rename image folders from numbered (00x-07x) to year-based naming 2026-01-09 20:40:11 +01:00
static Rename image folders from numbered (00x-07x) to year-based naming 2026-01-09 20:40:11 +01:00
test Add comprehensive unit tests for core functions 2026-01-07 14:49:27 +01:00
.coveragerc test 2019-08-17 16:49:35 +02:00
.env Replace JSON config with .env files 2026-01-10 16:03:53 +01:00
.env.local Replace JSON config with .env files 2026-01-10 16:03:53 +01:00
.env.local-stacosys Replace JSON config with .env files 2026-01-10 16:03:53 +01:00
.gitignore Ignore uv.lock 2025-04-02 18:50:31 +02:00
check_git.sh fix check_git 2025-04-17 19:00:40 +02:00
Dockerfile Fix deprecated ENV command 2025-09-27 16:12:45 +02:00
LICENSE.md init 2019-08-17 16:48:52 +02:00
Makefile Replace JSON config with .env files 2026-01-10 16:03:53 +01:00
makesite.py Replace JSON config with .env files 2026-01-10 16:03:53 +01:00
monitor.py Update monitor.py to use .env instead of params.json 2026-01-10 16:36:44 +01:00
pyproject.toml Replace JSON config with .env files 2026-01-10 16:03:53 +01:00
README.md Replace JSON config with .env files 2026-01-10 16:03:53 +01:00

Blog du Yax

This blog is built on top of the great work performed by fspaolo on Makesite.py. I cut some features and wristed the code to focus on blog posts and support my commenting system. You should check fspaolo's repository to really understand Makesite.py's philosophy and find technical details.

This static blog generator code is under MIT license.

"Blog du Yax" content is under CC-BY-NC-SA

Configuration

Configuration is managed through .env files:

File Description
.env Production configuration
.env.local Local development (no Stacosys)
.env.local-stacosys Local development with local Stacosys

Environment variables:

  • TITLE - Site title
  • SUBTITLE - Site subtitle
  • AUTHOR - Author name
  • SITE_URL - Base URL for the site
  • STACOSYS_URL - Stacosys API endpoint (optional)
  • EXTERNAL_CHECK - Script for git change detection

Usage

# Production build (uses .env)
uv run python makesite.py

# Local development without Stacosys (uses .env.local)
uv run python makesite.py --local

# Local development with local Stacosys (uses .env.local-stacosys)
uv run python makesite.py --local-stacosys

# Or use make for local development
make site