Commit Graph
3 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
steam 05bf0238b1 initial commit for the page 2021-09-17 15:20:18 +02:00