forked from CGM_Public/pretix_original
This commit is contained in:
@@ -15,6 +15,8 @@
|
|||||||
{% block custom_header %}
|
{% block custom_header %}
|
||||||
{% if event.settings.meta_noindex %}
|
{% if event.settings.meta_noindex %}
|
||||||
<meta name="robots" content="noindex, nofollow">
|
<meta name="robots" content="noindex, nofollow">
|
||||||
|
{% elif "date" in request.GET or "old" in request.GET %}
|
||||||
|
<meta name="robots" content="noindex, follow">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
{% if social_image %}
|
{% if social_image %}
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
{% block custom_header %}
|
{% block custom_header %}
|
||||||
{% if organizer.settings.meta_noindex %}
|
{% if organizer.settings.meta_noindex %}
|
||||||
<meta name="robots" content="noindex, nofollow">
|
<meta name="robots" content="noindex, nofollow">
|
||||||
|
{% elif "date" in request.GET or "old" in request.GET %}
|
||||||
|
<meta name="robots" content="noindex, follow">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user