2025-03-31 11:43:25 -06:00

27 lines
1.1 KiB
HTML

{{ define "main" }}
<article class="single-article">
<header class="mb-4">{{ partial "article-wompum.html" . }}</header>
<div class="flex gap-4">
<aside class="lg:sticky lg:top-0 lg:h-screen lg:overflow-y-auto lg:w-1/3 p-4 font-iosevka">
<p class="text-3xl font-light mb-4">
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2, 2006" }}</time>
</p>
<p><strong>Narrator:</strong> {{ .Params.narrator }}</p>
<p><strong>Facilitator:</strong> {{ .Params.facilitator }}</p>
<p><strong>Subject:</strong> {{ .Params.subject }}</p>
<p><strong>Tags:</strong> {{ partial "tags.html" . }}</p>
</aside>
<div class="prose lg:prose-xl lg:w-2/3 p-4">
<p class="font-bold text-4xl">{{ partial "article-title" . }}</p>
{{ .Content }}
</div>
</div>
</article>
<aside>
{{ partial "related-articles" (dict "page" . "tags" .Params.tags "limit" 3) }}
</aside>
<div class="text-center my-12"><a href="/">Go Home</a></div>
{{ end }}