aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/robots.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/robots.txt b/templates/robots.txt
index 09aba30..7977154 100644
--- a/templates/robots.txt
+++ b/templates/robots.txt
@@ -1,9 +1,9 @@
-{%- if config.extra.prod %}
+{%- if config.extra.dev %}
+User-Agent: *
+Disallow: /
+{%- else %}
Sitemap: {{ get_url(path="sitemap.xml", trailing_slash=false) }}
User-Agent: *
Allow: /
Host: {{ get_url(path="/", trailing_slash=false) }}
-{%- else %}
-User-Agent: *
-Disallow: /
{%- endif %}