initial commit
This commit is contained in:
21
layouts/index.html
Normal file
21
layouts/index.html
Normal 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 }}
|
Reference in New Issue
Block a user