From 34afe84424ed581591eba51a5a7f89db38c1456d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 8 Aug 2019 18:30:43 +0300 Subject: Use `absURL` so that we get consistent URLs. (#29226) --- site/layouts/partials/social.html | 6 +++--- site/layouts/robots.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/layouts/partials/social.html b/site/layouts/partials/social.html index d327163a16..11a68f812e 100644 --- a/site/layouts/partials/social.html +++ b/site/layouts/partials/social.html @@ -4,15 +4,15 @@ - + {{ "" | safeHTML }} - - + + diff --git a/site/layouts/robots.txt b/site/layouts/robots.txt index c6703cd06c..5dd1a294ec 100644 --- a/site/layouts/robots.txt +++ b/site/layouts/robots.txt @@ -9,4 +9,4 @@ {{- end }} User-agent: * Disallow:{{ if not $allowCrawling }} /{{ end }} -Sitemap: {{ .Site.BaseURL }}/sitemap.xml +Sitemap: {{ "/sitemap.xml" | absURL }} -- cgit v1.2.3