From 242269e338a2d6290659156ab252a57e51787ead Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sun, 18 Jun 2023 20:39:28 +0200 Subject: [PATCH] Niet alleen nieuwe pagina's aan IndexNow toevoegen, maar ook gewijzigde pagina's --- themes/nluug/layouts/list.indexnow.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/nluug/layouts/list.indexnow.json b/themes/nluug/layouts/list.indexnow.json index 0b44f2a..a7081bf 100644 --- a/themes/nluug/layouts/list.indexnow.json +++ b/themes/nluug/layouts/list.indexnow.json @@ -5,7 +5,7 @@ {{ $index_time := (time now).AddDate 0 0 -1 }} "urlList": [ {{- range .Site.RegularPages -}} - {{ if ge (time .Date) $index_time }}"{{ .Permalink }}",{{ end }} + {{ if ge (time .Lastmod) $index_time }}"{{ .Permalink }}",{{ end }} {{- end -}} ] }