diff --git a/docs/content/robots.liquid b/docs/content/robots.liquid index d7d951459..31d789206 100644 --- a/docs/content/robots.liquid +++ b/docs/content/robots.liquid @@ -3,7 +3,7 @@ layout: null permalink: robots.txt eleventyExcludeFromCollections: true --- -Sitemap: {% if environment != 'development' %}{{ site.docsUrl }}{% endif %}/sitemap.xml +Sitemap: {% if environment == 'production' %}{{ site.docsUrl }}{% endif %}/sitemap.xml {% if environment != 'production' %} User-agent: *