aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-23 13:26:51 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-23 13:26:51 +0100
commit5cba28f865dda37570b393739b6fce335a8b0146 (patch)
treea5d7757437d4c233be448bfcec10b4fe917a6e39
parent8369d9a3a75c67a9487a6deec0db4157ae8bf3a0 (diff)
Simplify post meta template
-rw-r--r--layouts/partials/docs/post-meta.html5
1 files changed, 0 insertions, 5 deletions
diff --git a/layouts/partials/docs/post-meta.html b/layouts/partials/docs/post-meta.html
index c68ea95..0b35f1f 100644
--- a/layouts/partials/docs/post-meta.html
+++ b/layouts/partials/docs/post-meta.html
@@ -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 }}