asw/site/layouts/page/single.html
Ludo 21524b4b25
refactor: standardize all Hugo templates — consistent landmark structure
All templates now follow: body > nav > article > header + content + footer

Removed:
- <hgroup> (redundant, header+h1+p serves same purpose)
- <main> (article is the content landmark)
- role="main" on article (incorrect ARIA)
- header block in baseof (header now inside article)

Standardized: default, docs, essay, notes, console, page, list, index.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:37:47 +02:00

11 lines
201 B
HTML

{{ define "content" }}
<article>
<header>
<h1>{{ .Title }}</h1>
{{- with .Description }}
<p>{{ . }}</p>
{{- end }}
</header>
{{ .Content }}
</article>
{{ end }}