diff options
Diffstat (limited to 'layouts/robots.txt')
| -rw-r--r-- | layouts/robots.txt | 3 |
1 files changed, 1 insertions, 2 deletions
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 }} |
