Always disallow wagtail admin

This commit is contained in:
Jake Howard 2022-10-02 19:17:33 +01:00
parent 197f2ea0aa
commit 6d0c25128c
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,10 +1,10 @@
{% if SEO_INDEX %} {% if SEO_INDEX %}
User-agent: * User-agent: *
Allow: / Allow: /
Disallow: {% url "wagtailadmin_home" %}
{% else %} {% else %}
User-agent: * User-agent: *
Disallow: / Disallow: /
{% endif %} {% endif %}
Disallow: {% url "wagtailadmin_home" %}
Sitemap: {{ sitemap }} Sitemap: {{ sitemap }}