aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/sitemap.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml
index b3fe471..19dd68d 100644
--- a/layouts/sitemap.xml
+++ b/layouts/sitemap.xml
@@ -1,4 +1,4 @@
-{{ "<?" | safeHTML }}xml-stylesheet type="text/xsl" href="{{ .Site.BaseURL }}sitemap.xsl"{{ "?>" | safeHTML }}
+{{ "<?" | safeHTML }}xml-stylesheet type="text/xsl" href="{{ "sitemap.xsl" | absURL }}"{{ "?>" | safeHTML }}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{{ range .Data.Pages }}
<url>