website/themes/lynx/layouts/_default/single.html
2023-07-31 14:19:39 +02:00

15 lines
509 B
HTML

{{ define "main" }}
<article class="flex flex-col items-center justify-center mt-10">
<nav class="place-self-start">
<a href="{{ "" | relURL }}" class="text-neutral-500">&larr; {{ i18n "nav.home" }}</a>
</nav>
<header>
<h1 class="mt-2 mb-6 text-4xl font-extrabold text-center text-neutral-800 dark:text-white">
{{ .Title | emojify }}
</h1>
</header>
<section class="prose dark:prose-invert">
{{ .Content | emojify }}
</section>
</article>
{{ end }}