From 855855cd609d9d5808e839837954cd868a44c6cd Mon Sep 17 00:00:00 2001 From: panr Date: Mon, 24 Oct 2022 16:31:41 +0200 Subject: [PATCH] Fix .Lastmod context --- layouts/_default/index.html | 6 +++--- layouts/_default/list.html | 4 ++-- layouts/_default/single.html | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/layouts/_default/index.html b/layouts/_default/index.html index fade676..74acf48 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -21,13 +21,13 @@
- {{ with .Date }} + {{ if .Date }} {{ end }} {{ with .Params.Author }} - + {{ end }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8d4fb47..0fafd36 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -11,9 +11,9 @@ {{ .Title | markdownify }}
- {{ with .Date }} + {{ if .Date }} {{ end }} {{ with .Params.Author }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5137a02..1bc4328 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,9 +4,9 @@ {{ .Title | markdownify }}