From 6659fc3378c18eaa0588481bf7f9fff10033852b Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 24 May 2023 00:54:58 +0200 Subject: [PATCH] Waar mogelijk de time-tag toegepast --- themes/nluug/layouts/custom/content-review.html | 8 ++++---- themes/nluug/layouts/custom/latest-changes.html | 2 +- themes/nluug/layouts/custom/sitemap.html | 2 +- themes/nluug/layouts/index.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/themes/nluug/layouts/custom/content-review.html b/themes/nluug/layouts/custom/content-review.html index d884b58..191c68f 100644 --- a/themes/nluug/layouts/custom/content-review.html +++ b/themes/nluug/layouts/custom/content-review.html @@ -25,9 +25,9 @@ {{ $reviewdate := $reviewdate.AddDate 0 0 .Params.review.period | time.Format "2006-01-02" }} {{ .Title | default .Site.Params.textNoTitle }} - {{ .Lastmod | dateFormat "2006-01-02 15:04:05" }} - {{ if .Params.review.last_review }}{{ .Params.review.last_review }}{{ else }}Onbekend{{ end }} - {{ with $reviewdate }}{{ . }}{{ end }} + + {{ if .Params.review.last_review }}{{ else }}Onbekend{{ end }} + {{ with .Params.review.period }}{{ . }} dagen{{ end }} {{ if .Params.review.last_review }} @@ -71,7 +71,7 @@ {{ range where .Site.RegularPages "Params.review" "==" nil }} {{ .Title | default .Site.Params.textNoTitle }} - {{ .Lastmod | dateFormat "2006-01-02 15:04:05" }} + {{ with .File }}{{ .Lang }}{{ end }} {{ with .File }}{{ .Path }}{{ end }} diff --git a/themes/nluug/layouts/custom/latest-changes.html b/themes/nluug/layouts/custom/latest-changes.html index bc110ac..7f87b13 100644 --- a/themes/nluug/layouts/custom/latest-changes.html +++ b/themes/nluug/layouts/custom/latest-changes.html @@ -19,7 +19,7 @@ {{ range first 50 $byLastMod }} - {{ .Lastmod | dateFormat "2006-01-02 15:04:05" }} + {{ .Title | default .Site.Params.textNoTitle }} {{ if .Site.IsServer }} {{ with .File }}{{ .Lang }}{{ end }} diff --git a/themes/nluug/layouts/custom/sitemap.html b/themes/nluug/layouts/custom/sitemap.html index 659a253..2338983 100644 --- a/themes/nluug/layouts/custom/sitemap.html +++ b/themes/nluug/layouts/custom/sitemap.html @@ -27,7 +27,7 @@ {{ range first 20 $byLastMod }} - {{ .Lastmod | dateFormat "2006-01-02 15:04:05" }} +