Files
poweronoff.click/README.md
T
morpheus b094ec91f3
Build and deploy the poweronoff.click hugo / build (push) Successful in 46s
Give project entries an image and a full description
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

23 lines
897 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# poweronoff.click
Landing page for my projects: https://poweronoff.click
Hugo + [PaperMod](https://github.com/adityatelange/hugo-PaperMod). The project
list lives in [`data/projects.yaml`](data/projects.yaml); the page copy in
[`content/_index.md`](content/_index.md).
[![Build Status](https://code.poweronoff.click/steam/poweronoff.click/actions/workflows/build.yml/badge.svg?branch=master)](https://code.poweronoff.click/steam/poweronoff.click/actions?workflow=build.yml)
## Working on it
Hugo runs in Docker, nothing to install locally:
```sh
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` (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.