mirror of https://github.com/docker/docs.git
Merge pull request #20683 from dvdksn/fix-xsl-stylesheet-filename
fix: incorrect sitemap stylesheet filename
This commit is contained in:
commit
b766e1504f
|
|
@ -1,5 +1,5 @@
|
||||||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||||
{{ printf "<?xml-stylesheet type=\"text/xsl\" href=\"%s\"?>" (urls.AbsURL "sitemap.xml") | safeHTML }}
|
{{ printf "<?xml-stylesheet type=\"text/xsl\" href=\"%s\"?>" (urls.AbsURL "sitemap.xsl") | safeHTML }}
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
{{- range where site.Pages "Params.sitemap" "!=" false }}
|
{{- range where site.Pages "Params.sitemap" "!=" false }}
|
||||||
{{- if ne .Params.sitemap false }}
|
{{- if ne .Params.sitemap false }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue