forked from CGM_Public/pretix_original
Add specific social media image
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
{% if event.settings.meta_noindex %}
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
{% endif %}
|
||||
<meta property="og:type" content="website" />
|
||||
{% if social_image %}
|
||||
<meta property="og:image" content="{{ social_image }}" />
|
||||
{% endif %}
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
{% block above %}
|
||||
|
||||
@@ -12,10 +12,6 @@
|
||||
{{ block.super }}
|
||||
<meta property="og:title" content="{{ ev.name }}" />
|
||||
<meta property="og:description" content="{{ ev.get_date_range_display }}" />
|
||||
{% if event_logo %}
|
||||
<meta property="og:image" content="{{ event_logo|thumb:'5000x120' }}" />
|
||||
{% endif %}
|
||||
<meta property="og:type" content="website" />
|
||||
{% if subevent %}
|
||||
<meta property="og:url" content="{% abseventurl request.event "presale:event.index" subevent=subevent.pk %}" />
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user