From f93c8aa1cb71331d004443082183593b4cb7ecb8 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Mon, 2 Aug 2021 11:35:50 +0200 Subject: [PATCH] fix: fix sitemap URL (#79) If the blog is installed in a subdirectory, `/sitemap.xml` will not include the subdirectory. --- layouts/robots.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/robots.txt b/layouts/robots.txt index 34dd235..2baf3f9 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -1,3 +1,3 @@ User-agent: * -Sitemap: {{ "/sitemap.xml" | absURL }} +Sitemap: {{ "sitemap.xml" | absURL }}