feat: add page content type for site infrastructure

Distinct from articles/essays/notes — pages have no publish lifecycle,
no date, no TOC, no prev/next. <main> landmark, not <article>.
Groundwork: layouts/page/single.html + content/pages/about.md stub.
This commit is contained in:
Ludo 2026-04-11 13:37:52 +02:00
parent 15a6db9c0e
commit ecfbed0374
Signed by: ludo
GPG key ID: F6E479DEFAB84D6E
2 changed files with 16 additions and 0 deletions

5
content/pages/about.md Normal file
View file

@ -0,0 +1,5 @@
---
title: "About"
description: "What ASW is and who builds it."
type: page
---

11
layouts/page/single.html Normal file
View file

@ -0,0 +1,11 @@
{{ define "header" }}{{ end }}
{{ define "content" }}
<main>
<header>
<h1>{{ .Title }}</h1>
{{- with .Description }}<p>{{ . }}</p>{{ end }}
</header>
{{ .Content }}
</main>
{{ end }}