The four Unsplash covers from the old blog are no longer referenced anywhere
(the landing page has no images). Deleting them drops static/ from ~6 MB to
772 KB and public/ from 6.4 MB to 948 KB. AGENTS.md now only mentions me.png,
which the Über-mich page still uses.
Drop the GitHub link from the landing page contact block (the only remaining
reference to github.com/poweronoff) and add a make-check guard that fails if it
ever reaches public/ again. AGENTS.md records the rule.
Only remaining github.com link in the output is PaperMod's own repository in the
theme footer attribution, which is not the author's profile.
Removing the blog should not have removed the author page. Bring back
content/about.md (unchanged), put "Über mich" back in the main menu, link it
from the landing page contact block, and make `make check` assert that
/about/index.html exists so it cannot silently disappear again. AGENTS.md now
lists it as a must-keep page next to Impressum and Datenschutz.
The site is now a single page introducing Stan and listing his projects, with a
short description and a link for each. Blog posts, the about page, the post
archetype and the new-post helper are gone (git history keeps them). The
Impressum and Datenschutzerklärung stay: they are legally required and the
footer links to them.
Projects are data-driven:
- data/projects.yaml: name, url, description, optional status/tags
- layouts/shortcodes/projects.html: renders cards and fails the build when a
required field is missing or the URL is not absolute
- layouts/_partials/extend_head.html: card CSS using PaperMod variables, so
light/dark keeps working; no theme fork
First entry is Berlin Crime Stories, described from its own site (German crime
stories set in Berlin, published in German/English/Russian).
Config: site title and copy retargeted to projects, homeInfoParams/menu/social
icons/pagination/search output removed, taxonomies disabled (no posts), locale
set to de so html lang and og:locale are German. make check now also asserts
that the cards, the Berlin Crime Stories link and both legal pages exist, and
make new-project documents how to add one.
Hugo 0.158+ deprecated .Language.LanguageDirection and .Language.LanguageCode.
Both were used only by the theme (baseof.html, rss.xml, opengraph.html) and are
already fixed upstream, so bump PaperMod v8.0-139 -> v8.0-152 instead of
patching the submodule. Other changes in that range are theme improvements
(focus handling for in-page anchors, throttled scroll handlers, ISO date
titles); no site behaviour regressions in the generated HTML.
Universal Analytics (UA-179789773-1) stopped collecting data in 2023 and made
Hugo warn on every build. Analytics is now disabled with a comment showing how
to enable GA4; the dead gtag.js snippet is no longer shipped to visitors.
make check: 0 warnings, 0 errors.
Use ghcr.io/gohugoio/hugo:latest in CI and locally, so the site always builds
with the current Hugo release (currently v0.169.0). HUGO_IMAGE stays overridable
for debugging a version regression.
Trade-off: builds are no longer reproducible. If an upstream release breaks the
build, pin HUGO_IMAGE locally, then bump PaperMod with `make theme-update`.
The scp deploy used rm:false, so deleted pages and images stayed on the server
forever (e.g. /howto-work-with-stan/ still answered 200 after its removal).
Replace appleboy/scp-action with an rsync --delete --delay-updates step:
- the webroot becomes an exact mirror of public/, deletions propagate
- --delay-updates applies new files last, so a failed run never leaves a
half-synced site (unlike a pre-clean rm -rf)
- .well-known/ is excluded so ACME challenges survive
- fails loudly if the transfer breaks, instead of silently leaving stale files
Still password auth via sshpass (secrets unchanged); switching to an SSH key is
the remaining follow-up. AGENTS.md updated accordingly.
Drop content/howto-work-with-stan.md and its menu entry. The page was still a
placeholder ("under construction"). Note: the deploy step uses scp with
rm: false, so /howto-work-with-stan/ must also be deleted on the server
(/var/www/poweronoff.click/howto-work-with-stan).
The footer override at layouts/partials/footer.html stopped being applied when
PaperMod moved its partials to layouts/_partials/: the Datenschutz and Impressum
links had silently vanished from the live site, and the copied theme JS was
stale. Drop the 135-line fork and get the links from params.footer.text, which
the theme renders itself.
Agentic setup:
- AGENTS.md: repo map, writing rules, guardrails, definition of done, backlog
- Makefile: dockerised build/serve/check/new/clean, pinned Hugo 0.169.0
- scripts/new-post.sh: creates a correct draft page bundle
- scripts/check-links.py: fails on unresolved internal links
- .editorconfig for consistent whitespace
CI/build:
- pin ghcr.io/gohugoio/hugo to v0.169.0 instead of :latest
- serialise runs per ref so deploys cannot race
- only send the Telegram notification for pushes
Also: trailing slash on the howto menu URL, ignore .hugo_build.lock, document the
dead Universal Analytics ID, and remove two unused duplicate images (304 KB).