Add agent tooling and restore the legal footer links

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).
This commit is contained in:
morpheus committed 2026-11-06 10:06:13 +01:00
1 parent 94ea700088
commit 9a02ee8111
12 files changed
+320 -139

No files matched your search

+8 -1
View File
@@ -10,6 +10,8 @@ buildFuture: false
buildExpired: false
enableEmoji: true
# TODO(analytics): Universal Analytics (UA-*) stopped collecting data on 2023-07-01.
# Create a GA4 property and replace this with its G-XXXXXXXXXX measurement ID (or drop the line).
googleAnalytics: UA-179789773-1
minify:
@@ -74,6 +76,11 @@ params:
- name: twitter
url: "https://twitter.com/djsteamson"
footer:
# Rendered by PaperMod's own footer partial. Keeping this here instead of forking
# layouts/_partials/footer.html means theme updates keep working.
text: "[Datenschutzerklärung](/data_protection/) · [Impressum](/impressum/)"
cover:
hidden: false # hide everywhere but not in structured data
hiddenInList: false # hide on list pages and home
@@ -106,6 +113,6 @@ menu:
weight: 25
- identifier: howto-work-with-me
name: How to work with me
url: /howto-work-with-stan
url: /howto-work-with-stan/
weight: 30