initial commit

This commit is contained in:
Drew
2025-02-10 16:38:53 -07:00
commit 1317913e3a
19 changed files with 2651 additions and 0 deletions

21
layouts/index.html Normal file
View File

@ -0,0 +1,21 @@
{{ 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 }}