Commit Graph
5 Commits
Author SHA1 Message Date
morpheus b094ec91f3 Give project entries an image and a full description
Build and deploy the poweronoff.click hugo / build (push) Successful in 46s
Each project on the landing page is now a two-column entry: an image from the
project on the left, a long description on the right (stacked on mobile).

- data/projects.yaml: new required `image` (path in assets/), optional
  `image_alt`/`image_credit`, and `description` is now Markdown covering the
  idea and the technical implementation (~350 words, 1.5-2 min)
- assets/projects/berlin-crime-stories.jpg: the project's Kalle-und-Leni
  illustration, resized to 1100 px in the repo and processed by Hugo into an
  800 px WebP (36 KB) at build time
- shortcode renders the description with Page.RenderString (paragraphs, bold),
  resizes the image, and fails the build when name/url/description/image is
  missing or the asset does not exist (no nil-pointer panic)
- extend_head.html: new entry layout using PaperMod variables, responsive below
  720 px
- make check asserts an entry with image is rendered and the text covers both
  "Die Idee" and "Die Umsetzung"; AGENTS.md/README document the new fields

Berlin Crime Stories description covers the series concept, Kalle & Leni, the
Berlin locations, the DE/EN/RU multilingual setup, Hugo templates, tags/RSS,
theme, Turnstile + Cloudflare Worker contact form, Apache + CSP and cookieless
analytics.
2026-11-07 08:04:31 +01:00
morpheus ae2aab5753 Turn the blog into a project landing page
Build and deploy the poweronoff.click hugo / build (push) Successful in 45s
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.
2026-11-06 10:40:48 +01:00
morpheus 9a02ee8111 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).
2026-11-06 10:06:13 +01:00
steam 8835de07aa repair the theme toggle, some cleanup
continuous-integration/drone/push Build is failing
2021-09-20 23:42:38 +02:00
steam 05bf0238b1 initial commit for the page 2021-09-17 15:20:18 +02:00