Update the content header partial

This commit is contained in:
Eryn Wells 2024-10-07 21:35:48 -07:00
parent fa82e4f9a7
commit 3e4e292a23

View file

@ -1,9 +1,12 @@
<header>
<h1>{{ .Title }}</h1>
<header class="content-title">
<h1>{{ .Title | markdownify }}</h1>
{{ with .Description -}}
<p class="subtitle">{{ . }}</p>
{{- end }}
{{ if and (not (eq .Section "about")) .Date }}
<time>{{ .Date | time.Format "January 2, 2006" }}</time>
{{ end }}
{{ with .Date -}}
<time>{{ . | time.Format "January 2, 2006" }}</time>
{{- end }}
{{- if .Params.series -}}
{{- $series := .GetTerms "series" -}}