2025-02-10 16:38:53 -07:00

21 lines
737 B
HTML

{{ define "main" }}
<main>
<h1 class="text-4xl font-bold">Protocol Oral History Project</h1>
<ul class="flex flex-col gap-4 my-4">
{{ range where .Site.RegularPages "Section" "oral-histories" }}
<li class="border-l border-gray-300 pl-4">
<p class="text-xs text-gray-800"><time datetime="{{ .Date.Format " 2006-01-02" }}">{{ .Date.Format "January 2, 2006" }}</time></p>
<a class="font-bold hover:text-green-900 underline" href="{{ .RelPermalink }}">{{ .Title }}</a>
<p class="text-sm">{{ .Params.summary }}</p>
{{ partial "tags.html" .}}
</li>
{{ end }}
</ul>
<article class="prose lg:prose-xl">
<h2 class="text-4xl">{{ .Title }}</h2>
{{ .Content }}
</article>
</main>
{{ end }}