hugoWebsite/layouts/_default/list.html

22 lines
641 B
HTML
Raw Normal View History

2022-10-29 00:20:35 +02:00
{{ define "main" }}
<main>
<article>
<header class="mb-4 bg-primary-600">
2022-10-29 00:20:35 +02:00
<span class="py-96">
<h1 class="py-16 text-5xl font-black text-center text-white capitalize">
{{ .Title }}
</h1>
</span>
</header>
{{ with .Content }}
<div class="max-w-2xl px-6 mx-auto mt-6 prose dark:prose-invert dark:text-white">
2022-10-29 00:20:35 +02:00
{{- . -}}
</div>
{{ end }}
{{ partial "posts-template.html" . }}
</article>
<div class="max-w-xl mx-auto my-16">
{{ partial "pagination" . }}
</div>
</main>
{{ end }}