hugoWebsite/layouts/_default/single.html

15 lines
464 B
HTML
Raw Normal View History

2022-10-29 00:20:35 +02:00
{{define "main"}}
<article>
<header class="mb-4 bg-indigo-600">
<span class="py-96">
<h1 class="py-16 text-5xl font-black text-center text-white capitalize">
{{ .Title }}
</h1>
</span>
</header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
<div class="max-w-2xl px-6 pt-4 pb-16 mx-auto prose dark:prose-invert dark:text-white">
{{.Content}}
</div>
</article>
2022-10-29 00:20:35 +02:00
{{end}}