Skip to content

Commit

Permalink
🚚 Moved sitemap layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
toby3d committed Oct 6, 2020
1 parent 843a962 commit 2487313
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/sitemap.xml → layouts/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
{{ with .Sitemap.ChangeFreq }}<changefreq>{{ . }}</changefreq>{{ end }}
{{ if ge .Sitemap.Priority 0.0 }}<priority>{{ .Sitemap.Priority }}</priority>{{ end }}
{{- if .IsTranslated }}
{{ range .Translations }}<xhtml:link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}"/>{{ end }}
<xhtml:link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}"/>
{{ range .Translations }}<xhtml:link rel="alternate" hreflang="{{ .Lang }}" href="{{ replace .Permalink "https://" "http://" 1 }}"/>{{ end }}
<xhtml:link rel="alternate" hreflang="{{ .Lang }}" href="{{ replace .Permalink "https://" "http://" 1 }}"/>
{{- end }}
</url>
{{- end }}
Expand Down
File renamed without changes.

0 comments on commit 2487313

Please sign in to comment.