garden/layouts/sessions/list.html
B.A. Baracus 00fa25f436
garden: sessions redundancy + theme toggle + no toggle reveal
- Sessions list: no tag header, stripped 'Vigo Session Log:' prefix
- Session single: flat sections instead of fragment toggle (details/summary)
- Theme toggle: explicit font-family + color ensures emoji icon renders
- New: layouts/sessions/list.html, sessions/single.html
- Changed: content/sessions/*.md (no fragment shortcodes), garden.css
2026-05-26 16:52:30 +02:00

21 lines
566 B
HTML

{{ define "main" }}
<section>
<header>
<h1>{{ .Title }}</h1>
{{- with .Description }}<p data-text="dim">{{ . }}</p>{{- end }}
</header>
<div data-layout="card-grid">
{{- range .Pages }}
<article data-card>
<h4><a href="{{ .RelPermalink }}">{{ .Title | replaceRE "^Vigo Session Log: " "" }}</a></h4>
{{- if not .Date.IsZero }}
<footer>
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
</footer>
{{- end }}
</article>
{{- end }}
</div>
</section>
{{ end }}