Documentation Index
Fetch the complete documentation index at: https://mintlify.com/samgutentag/sbburgerweek/llms.txt
Use this file to discover all available pages before exploring further.
apply-theme.py is the bridge between config.js and every file that can’t read config.js at runtime. HTML files, the social preview image, the CNAME file, README.md, and the Cloudflare Worker SQL queries all contain values that must be baked in at deploy time — apply-theme.py handles all of them in one pass. Run it after every config.js change.
Prerequisites
apply-theme.py requires ImageMagick to render the social preview PNG. Without it, the SVG is still updated but og-image.png won’t be generated.
If ImageMagick is not installed,
apply-theme.py will print a warning and continue. All other files will be updated normally — only the PNG generation step is skipped.What it updates
Runningpython3 apply-theme.py rewrites the following files based on the current values in config.js:
| File | What changes |
|---|---|
og-image.svg | Event name, dates, emoji, domain |
og-image.png | Rendered from SVG with Twemoji emoji composite |
CNAME | Custom domain extracted from siteUrl |
index.html | Favicon emoji, title, header, concluded banner, analytics snippet |
embed/index.html | Favicon emoji, showcase title |
embed/map/index.html | Favicon emoji, embed bar title, full map link, contact email |
admin/index.html | Favicon emoji, page title |
stats/index.html | Favicon emoji, page title, concluded banner |
README.md | Hits badge domain, embed snippet, title |
workers/track/index.js | Event start date in SQL queries |
.github/workflows/snapshot-tracking.yml | Event start date in SQL queries |
Running it
From the repo root, run:eventName, emoji, or siteUrl are missing from config.js.