diff options
author | 2018-07-10 19:54:16 +0100 | |
---|---|---|
committer | 2018-07-10 19:54:16 +0100 | |
commit | d6985a01ea62e6ea9f9bd858f9d89efe14074748 (patch) | |
tree | f9cb8d64101bc4073f0a8d84390a9670ad483517 /templates/robots.txt | |
parent | [Wiki] Add OG description text to pages (diff) |
Fix robots.txt template
Diffstat (limited to '')
-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 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 }} |