aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJieiku2023-07-18 08:19:21 -0700
committerJieiku2023-07-18 08:19:21 -0700
commit06c5fd1a0c11cb4ae252873a95100d8069ae26df (patch)
tree9c2c953eebf844f57d81e18840ad5fe374129db4 /templates
parent9b05dfd7276c3cf88f1446fe0892cbe743eab7c7 (diff)
downloadabridge-06c5fd1a0c11cb4ae252873a95100d8069ae26df.tar.gz
abridge-06c5fd1a0c11cb4ae252873a95100d8069ae26df.tar.bz2
abridge-06c5fd1a0c11cb4ae252873a95100d8069ae26df.zip
Lighthouse Fixes
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 %}