oc-adrema-plugin/components/eventindex/default.htm

23 lines
928 B
HTML
Raw Normal View History

2024-02-01 01:58:40 +01:00
{% if __SELF__.event %}
{% put metatags %}
<meta property="og:title" content="{{__SELF__.event.name}}">
<meta property="og:url" content="{{__SELF__.currentUrl}}">
<meta property="og:description" content="{{__SELF__.event.excerpt}}">
<meta property="og:image" content="{{__SELF__.event.image}}">
<meta property="og:type" content="article">
{% endput %}
{% endif %}
2024-02-03 22:36:56 +01:00
{% put metatags %}
<meta name="adrema_base_url" content="/adrema-api">
{% endput %}
2024-02-01 00:23:58 +01:00
<event-index
style="--primary: {{__SELF__.settings.primary_color}}; --primaryfg: #d1f8ff; --secondary: #800a19; --font: hsl(181, 84%, 78%); --circle: hsl(181, 86%, 16%)"
index-url="{{__SELF__.settings.indexUrl}}"
single-url="{{__SELF__.settings.singleUrl}}"
register-url="{{__SELF__.settings.registerUrl}}"
2024-02-03 22:36:56 +01:00
{% if __SELF__.event %} visible-event-slug="{{__SELF__.event.slug }}" {% endif %}
2024-02-01 00:23:58 +01:00
></event-index>