diff --git a/test/site/themes/bare_min/layouts/_default/summary.html b/test/site/themes/bare_min/layouts/_default/summary.html index e124269..09aac6e 100644 --- a/test/site/themes/bare_min/layouts/_default/summary.html +++ b/test/site/themes/bare_min/layouts/_default/summary.html @@ -10,11 +10,12 @@ the summary is shorter than the full post. --> +{{ $date_is_set := (not (eq (dateFormat "2006-01-02" .Params.date) "0001-01-01")) }}

{{ .Title }}

- {{ with .Params.date }} - + {{ if $date_is_set }} + {{ end }}