add noindex when map status isn't public
This commit is contained in:
parent
65fc239406
commit
8cef5885e5
1 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,9 @@
|
||||||
{% leaflet_storage_css %}
|
{% leaflet_storage_css %}
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
{% leaflet_storage_js locale=locale %}
|
{% leaflet_storage_js locale=locale %}
|
||||||
|
{% if object.share_status != object.PUBLIC %}
|
||||||
|
<meta name="robots" content="noindex">
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
@ -15,4 +18,4 @@
|
||||||
{% include "leaflet_storage/map_init.html" %}
|
{% include "leaflet_storage/map_init.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% include "leaflet_storage/map_messages.html" %}
|
{% include "leaflet_storage/map_messages.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue