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 %}
|
||||||
|
|
Loading…
Reference in a new issue