Clean up the list header so the desc is below

This commit is contained in:
Joe Hutchinson
2020-01-28 19:05:02 -05:00
parent 063fd15154
commit 1ada3e4a51
2 changed files with 2 additions and 3 deletions

View File

@@ -6,8 +6,8 @@
<main class="card-container side-gutter">
{{ if or (not (eq .Description "")) (not (eq .Title "")) -}}
<header class="list-header">
{{ with .Description }}<p class="list-header-subtext">{{ . }}</p>{{ end }}
{{ with .Title }}<h1 class="list-header-title">{{ . }}</h1>{{ end }}
{{ with .Description }}<p class="list-header-subtext">{{ . }}</p>{{ end }}
</header>
{{- end }}
{{ with .Content -}}