Remove the date from the about section only

This commit is contained in:
Eryn Wells 2022-11-15 22:12:23 -08:00
parent 8fadc54a43
commit 2c5cec4f87

View file

@ -2,7 +2,7 @@
{{ partial "development/draft_tag.html" . }} {{ partial "development/draft_tag.html" . }}
<div class="post-title"> <div class="post-title">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ if not (eq .Type "page") }} {{ if not (eq .Section "about") }}
<div class="post-date"><time>{{ .Date | time.Format "January 2, 2006" }}</time></div> <div class="post-date"><time>{{ .Date | time.Format "January 2, 2006" }}</time></div>
{{ end }} {{ end }}
</div> </div>