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

@@ -156,8 +156,7 @@ strong {
}
.list-header-subtext {
font-weight: normal;
color: #7a7b7c;
font-size: 1em;
font-size: 1.5em;
line-height: 1.6;
margin: 0;
}

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 -}}