- layouts/partials/head.html: full <head> partial with meta partials + CSS pipeline - layouts/partials/meta/seo.html: canonical URL + robots directives - layouts/partials/meta/og.html: Open Graph + Twitter Card meta tags - layouts/partials/meta/ai-disclosure.html: AI content disclosure (EU AI Act) - layouts/partials/meta/json-ld.html: Schema.org JSON-LD structured data - layouts/partials/tag-nav.html: site-wide tag cloud partial - layouts/_default/baseof.html: simplified to use partial head.html - layouts/_default/single.html: removed inline head block (now in head.html) Verified: canonical, robots, OG tags, ai-content-disclosure on live pages. 96 pages build clean. Closes: asw#15
31 lines
824 B
HTML
31 lines
824 B
HTML
{{ define "main" }}
|
|
{{ partial "nav.html" . }}
|
|
|
|
<main>
|
|
<article data-layout="prose">
|
|
|
|
<header>
|
|
<hgroup>
|
|
{{ with .Params.eyebrow }}<p data-text="eyebrow">{{ . }}</p>{{ end }}
|
|
<h1>{{ .Title }}</h1>
|
|
{{ with .Description }}<p>{{ . }}</p>{{ end }}
|
|
</hgroup>
|
|
<p data-text="dim">
|
|
<time datetime="{{ .Date.Format `2006-01-02` }}">{{ .Date.Format "January 2006" }}</time>
|
|
{{ with .Params.author }} · {{ . }}{{ end }}
|
|
</p>
|
|
</header>
|
|
|
|
{{ .Content }}
|
|
|
|
<footer>
|
|
<small>{{ with .Params.footer }}{{ . }}{{ else }}Published in the dorveille.{{ end }}</small>
|
|
</footer>
|
|
|
|
</article>
|
|
</main>
|
|
|
|
<footer>
|
|
<small><a href="/">{{ .Site.Title }}</a> · {{ .Date.Format "2006" }}</small>
|
|
</footer>
|
|
{{ end }}
|