diff options
Diffstat (limited to 'templates')
-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 }} |