From d6d510aec94d65696a7372babc8a7cc70bd51c26 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Thu, 17 Sep 2020 14:55:10 -0400 Subject: [PATCH] Fix `dated` header class on pinned posts The header shouldn't include the `dated` property, since we don't display a date on pinned posts. This fixes that. --- templates/collection-post.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/collection-post.tmpl b/templates/collection-post.tmpl index 5b27963..345d43c 100644 --- a/templates/collection-post.tmpl +++ b/templates/collection-post.tmpl @@ -62,7 +62,7 @@ {{if .Silenced}} {{template "user-silenced"}} {{end}} -
{{if .IsScheduled}}

Scheduled

{{end}}{{if .Title.String}}

{{.FormattedDisplayTitle}}

{{end}}{{if and $.Collection.Format.ShowDates (not .IsPinned) .IsFound}}{{end}}
{{.HTMLContent}}
+
{{if .IsScheduled}}

Scheduled

{{end}}{{if .Title.String}}

{{.FormattedDisplayTitle}}

{{end}}{{if and $.Collection.Format.ShowDates (not .IsPinned) .IsFound}}{{end}}
{{.HTMLContent}}
{{ if .Collection.ShowFooterBranding }}