Simplify post meta template

soper-book
Alex Shpak 2020-02-23 13:26:51 +01:00
parent 8369d9a3a7
commit 5cba28f865
1 changed files with 0 additions and 5 deletions

View File

@ -1,6 +1,4 @@
{{ $dateFormat := (default "January 2, 2006" .Site.Params.BookDateFormat) }}
{{ if or .Date .Params.tags }}
<div>
{{ with .Date}}
<h5>{{ .Format $dateFormat }}</h5>
{{ end }}
@ -16,6 +14,3 @@
</div>
{{ end }}
{{ end }}
</div>
{{ end }}