From d459dfac74e90c29950d49a82edc19fd913d435e Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 29 Jul 2021 08:25:05 +0000 Subject: update to bootstrap 5.0.2 --- vendor/twbs/bootstrap/site/layouts/sitemap.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'vendor/twbs/bootstrap/site/layouts/sitemap.xml') diff --git a/vendor/twbs/bootstrap/site/layouts/sitemap.xml b/vendor/twbs/bootstrap/site/layouts/sitemap.xml index 972ebf6a5..869f1cbe8 100644 --- a/vendor/twbs/bootstrap/site/layouts/sitemap.xml +++ b/vendor/twbs/bootstrap/site/layouts/sitemap.xml @@ -1,10 +1,12 @@ -{{ printf "" | safeHTML }} +{{ printf "" | safeHTML }} - {{- range .Data.Pages -}}{{ if ne .Params.sitemap_exclude true }} + {{- range .Data.Pages -}}{{ if and .Permalink (ne .Params.sitemap_exclude true) }} {{ .Permalink }}{{ if not .Lastmod.IsZero }} {{ safeHTML (.Lastmod.Format "2006-01-02T15:04:05-07:00") }}{{ end }}{{ with .Sitemap.ChangeFreq }} {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} - {{ .Sitemap.Priority }}{{ end }} + {{ .Sitemap.Priority }}{{ end }}{{ if .IsTranslated }}{{ range .Translations }} + {{ end }} + {{ end }} {{ end }}{{ end }} -- cgit v1.2.3