Samme indhold, URL'er og udseende, bygget af en enkelt zola-binær og Tailwind standalone-CLI uden Node. Kanonisk domæne er asger.weirsoe.dk. Blogindlæg ligger som page bundles med frontmatter Zola forstår, så de gamle stempler er ugyldige, indtil scripts/omstempl.py er kørt med PUBLISH_KEY. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
281 B
Bash
Executable File
9 lines
281 B
Bash
Executable File
#!/bin/sh
|
|
# Bygger sitet til public/. PW_PREVIEW=1 giver preview-buildet under /udkast.
|
|
set -eu
|
|
TOOLS="${TOOLS:-.tools}"
|
|
python3 scripts/prebuild.py
|
|
"$TOOLS/tailwindcss" --input assets/site.css --output static/css/site.css --minify
|
|
"$TOOLS/zola" build
|
|
python3 scripts/postbuild.py
|