aboutsummaryrefslogtreecommitdiffstats
path: root/templates/robots.txt
diff options
context:
space:
mode:
Diffstat (limited to 'templates/robots.txt')
-rw-r--r--templates/robots.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/robots.txt b/templates/robots.txt
index be2a512c..934f9e6a 100644
--- a/templates/robots.txt
+++ b/templates/robots.txt
@@ -1,6 +1,6 @@
{# robots.txt is a little picky about whitespace and newlines - that's why the below looks kind of bad.#}
{% if rules is defined and rules %}
-{% for user_agent, disallowed in rules %}
+{% for user_agent, disallowed in rules.keys() %}
User-agent: {{ user_agent }}
{% for rule in rules %}
Disallow: {{ rule }}