From f4ed16c706942286d3ff26b9819b16698c485546 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 20 Aug 2023 12:15:37 -0700 Subject: [PATCH] Clean up content_header --- layouts/partials/content_header.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/layouts/partials/content_header.html b/layouts/partials/content_header.html index fd54329..868d0be 100644 --- a/layouts/partials/content_header.html +++ b/layouts/partials/content_header.html @@ -1,11 +1,9 @@
{{ partial "development/draft_tag.html" . }} -
-

{{ .Title }}

- {{ if and (not (eq .Section "about")) .Date }} - - {{ end }} -
+

{{ .Title }}

+ {{ if and (not (eq .Section "about")) .Date }} + + {{ end }} {{- if .Params.series -}} {{- $series := .GetTerms "series" -}} {{- if gt (len $series) 1 -}}