add noindex when map status isn't public

This commit is contained in:
Yohan Boniface 2014-10-02 22:45:22 +02:00
parent 65fc239406
commit 8cef5885e5

View file

@ -8,6 +8,9 @@
{% leaflet_storage_css %}
{% endcompress %}
{% leaflet_storage_js locale=locale %}
{% if object.share_status != object.PUBLIC %}
<meta name="robots" content="noindex">
{% endif %}
{% endblock %}
{% block content %}
@ -15,4 +18,4 @@
{% include "leaflet_storage/map_init.html" %}
{% endblock %}
{% include "leaflet_storage/map_messages.html" %}
{% endblock %}
{% endblock %}