aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-07-11 13:27:25 +0100
committerGravatar Gareth Coles <[email protected]>2018-07-11 13:27:25 +0100
commit4e5211b2a34f51036a47affc9abd9891e0e58c8a (patch)
tree6d3ca8536ee4d53eb19b3c7d2f5a5215244e3d91 /templates
parentFix robots.txt template (diff)
robots.txt: I can code, I swear
Diffstat (limited to 'templates')
-rw-r--r--templates/robots.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/robots.txt b/templates/robots.txt
index 934f9e6a..fa61be5e 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.keys() %}
+{% for user_agent, disallowed in rules.items() %}
User-agent: {{ user_agent }}
{% for rule in rules %}
Disallow: {{ rule }}