Add optional page description/subheading
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
<div class="max-w-5xl mx-auto -mt-12 py-8 px-8 text-left bg-white">
|
||||
<header class="mb-8">
|
||||
<h2 class="text-2xl font-bold">{{ .Title }}</h1>
|
||||
{{ if .Description }}
|
||||
<p class="mt-2 text-lg text-zinc-500">{{ .Description }}</p>
|
||||
{{ end }}
|
||||
</header>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
|
||||
Reference in New Issue
Block a user