diff options
author | 2018-07-11 13:27:25 +0100 | |
---|---|---|
committer | 2018-07-11 13:27:25 +0100 | |
commit | 4e5211b2a34f51036a47affc9abd9891e0e58c8a (patch) | |
tree | 6d3ca8536ee4d53eb19b3c7d2f5a5215244e3d91 | |
parent | Fix robots.txt template (diff) |
robots.txt: I can code, I swear
-rw-r--r-- | templates/robots.txt | 2 |
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 }} |