Give project entries an image and a full description
Build and deploy the poweronoff.click hugo / build (push) Successful in 46s
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.
This commit is contained in:
1 parent
9f71737703
commit
b094ec91f3
7 files changed
+158
-59
No files matched your search
@@ -17,5 +17,6 @@ make serve # preview on http://localhost:1313
|
||||
make check # build + project/content/link checks
|
||||
```
|
||||
|
||||
Add a project by appending an entry to `data/projects.yaml` and running
|
||||
`make check`. See [AGENTS.md](AGENTS.md) for conventions and guardrails.
|
||||
Add a project by appending an entry to `data/projects.yaml` (name, URL, a
|
||||
1–2 minute description of idea + implementation, and an image under
|
||||
`assets/`) and running `make check`. See [AGENTS.md](AGENTS.md) for conventions and guardrails.
|
||||
Reference in new issue
Block a user