diff options
| author | Max | 2017-03-01 20:18:12 +0100 |
|---|---|---|
| committer | Max | 2017-03-01 20:18:12 +0100 |
| commit | 347c73b7f0857720549acc11218baf2d681a4261 (patch) | |
| tree | c8e0fa22afb7c1ae3f7bf3ec83df01234e6a0dd1 | |
| parent | d77116cd9c02321845fb5cc8581e2bac0c46e93d (diff) | |
| download | gospeladlershof.de-347c73b7f0857720549acc11218baf2d681a4261.tar.gz | |
Entfernt die Priorität aus der Sitemap, wenn sie genau 0 beträgt.
| -rw-r--r-- | gospeladlershof.de/layouts/sitemap.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gospeladlershof.de/layouts/sitemap.xml b/gospeladlershof.de/layouts/sitemap.xml index 7074866..e2dfa48 100644 --- a/gospeladlershof.de/layouts/sitemap.xml +++ b/gospeladlershof.de/layouts/sitemap.xml @@ -10,7 +10,9 @@ {{end}} {{ with .Sitemap.ChangeFreq }} <changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }} + {{ if eq .Sitemap.Priority 0 }} <priority>{{ .Sitemap.Priority }}</priority>{{ end }} + {{end}} </url> {{ end }} {{ end }} |
