From fc07b509fe2da1e9baeb67869bc2fb3992990de4 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Mon, 23 May 2022 17:01:52 +0300 Subject: Rework alternate links, add sitemap support --- layouts/robots.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'layouts/robots.txt') diff --git a/layouts/robots.txt b/layouts/robots.txt index c59438e..c07f0df 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -4,8 +4,7 @@ User-agent: * {{- if eq (getenv "HUGO_ENV") "production" | or (eq site.Params.env "production") }} Allow: / -# TODO: implement sitemap.xml -# Sitemap: {{ "stemap.xml" | absURL }} +Sitemap: {{ "/stemap.xml" | absURL }} {{- else }} Disallow: / {{- end }} -- cgit v1.2.3