Add support for basic content pages

This commit is contained in:
James Panther
2021-11-03 11:48:08 +11:00
parent c262425766
commit fa414e9425
7 changed files with 144 additions and 9 deletions

View File

@@ -0,0 +1,12 @@
{{ define "main" }}
<article class="flex flex-col items-center justify-center mt-10 ">
<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-light">
{{ .Content | emojify }}
</section>
</article>
{{ end }}