Skip to content

Commit

Permalink
sitemap.xml: minor-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislaw-bnk committed Apr 29, 2024
1 parent d114782 commit 22ab765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/3mdeb/layouts/_default/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{ if not (strings.HasSuffix .Permalink "/elements/") }}
{{- if not (strings.HasSuffix .Permalink "/tags/") -}}
{{ if not (strings.HasSuffix .Permalink "/categories/") }}
{{ if not (strings.HasSuffix .Permalink "/faq-shop/") }}<url>
{{- if not (strings.HasSuffix .Permalink "/faq-shop/") -}}<url>
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
Expand All @@ -23,5 +23,5 @@
hreflang="{{ .Language.LanguageCode }}"
href="{{ .Permalink }}"
/>{{ end }}
</url>{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{ end }}
</url>{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}{{ end }}{{- end -}}
</urlset>

0 comments on commit 22ab765

Please sign in to comment.