mirror of
https://github.com/pretix/pretix.git
synced 2026-04-25 23:42:32 +00:00
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
{% block custom_header %}
|
||||
{% if event.settings.meta_noindex %}
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
{% elif "date" in request.GET or "old" in request.GET %}
|
||||
<meta name="robots" content="noindex, follow">
|
||||
{% endif %}
|
||||
<meta property="og:type" content="website" />
|
||||
{% if social_image %}
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
{% block custom_header %}
|
||||
{% if organizer.settings.meta_noindex %}
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
{% elif "date" in request.GET or "old" in request.GET %}
|
||||
<meta name="robots" content="noindex, follow">
|
||||
{% endif %}
|
||||
<meta property="og:type" content="website" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user