| layouts/partials/expirationnote.html | ●●●●● patch | view | raw | blame | history |
layouts/partials/expirationnote.html
@@ -5,11 +5,13 @@ {{- if and (ne .Type "post") (ne .Type .Site.Params.postSectionName) -}} {{- $duration = 0 -}} {{- end -}} {{- if (isset .Params "old_content_duration") -}} {{- $duration = .Params.old_content_duration -}} {{- end -}} {{- if and (gt $ageDays $duration) (ne $duration 0) -}}