Turn the blog into a project landing page
Build and deploy the poweronoff.click hugo / build (push) Successful in 45s
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.
This commit is contained in:
1 parent
d59b91c4bd
commit
ae2aab5753
15 files changed
+259
-390
No files matched your search
@@ -1,6 +1,10 @@
|
||||
# poweronoff.click
|
||||
|
||||
Source code for my homepage and my blog poweronoff.click based on [hugo](https://gohugo.io)
|
||||
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).
|
||||
|
||||
[](https://code.poweronoff.click/steam/poweronoff.click/actions?workflow=build.yml)
|
||||
|
||||
@@ -10,8 +14,8 @@ Hugo runs in Docker, nothing to install locally:
|
||||
|
||||
```sh
|
||||
make serve # preview on http://localhost:1313
|
||||
make check # build + link/content checks
|
||||
make new slug=my-post title="Mein Titel"
|
||||
make check # build + project/content/link checks
|
||||
```
|
||||
|
||||
See [AGENTS.md](AGENTS.md) for the repo map, writing conventions and guardrails.
|
||||
Add a project by appending an entry to `data/projects.yaml` and running
|
||||
`make check`. See [AGENTS.md](AGENTS.md) for conventions and guardrails.
|
||||
Reference in new issue
Block a user