#!/usr/bin/env python3 # shxtrk.dev: content/, templates/ and static/ in, dist/ out; standard library only, the same tree giving the same bytes # no refuse · rec a record · esc escape as HTML · bare an attribute value, quoted only where it has to be # handle domain the names · root content templates static dist the tree · RELEASE a ledger row · ENTRY a feed entry # DAY a date as written here, in ASCII digits # split a file's meta lines and body · note obj a record from its directory · load records, newest first # rev a note's earlier text, keyed by its last release · ledger the releases as written · where a digest's line in it # fill a template · put write under dist · page a page in base.html · day a