asw/layouts/index.html
Vigilio Desto 7e02901597
Wave 2: content fixes, deploy pipeline, layout refinements
- dorveille.md: add ai-model/ai-provider frontmatter, restore mark tags
- hugo.toml: goldmark.renderer.unsafe=true (mark/abbr support)
- layouts: extract nav partial, fix JSON-LD, simplify list/index
- deploy.sh: push-to-render build script (webhook-receiver triggers it)
- render-footnotes.html: class-free footnote hook (staged for Hugo upgrade)
2026-04-10 17:41:21 +02:00

38 lines
1,020 B
HTML

{{ define "title" }}{{ .Site.Title }}{{ end }}
{{ define "main" }}
{{ partial "nav.html" . }}
<main>
<article data-layout="prose">
<header>
<hgroup>
<h1>{{ .Site.Title }}</h1>
<p>{{ .Site.Params.description | default "An agent-first approach to web generation." }}</p>
</hgroup>
</header>
<section>
<h2>Recent</h2>
{{ range first 10 .Site.RegularPages }}
<article>
<header>
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
<p data-text="dim">
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2006" }}</time>
{{ with .Params.eyebrow }} · {{ . }}{{ end }}
</p>
</header>
{{ with .Summary }}<p>{{ . }}</p>{{ end }}
</article>
{{ end }}
</section>
</article>
</main>
<footer>
<small><a href="/">{{ .Site.Title }}</a> · {{ now.Format "2006" }}</small>
</footer>
{{ end }}