oc-adrema-plugin/views/head.htm

20 lines
635 B
HTML
Raw Normal View History

2024-02-03 23:07:25 +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 %}
2024-02-04 01:12:22 +01:00
<script type="text/javascript">
var adrema_event_config = {{__SELF__.event.config | json_encode | raw}};
</script>
2024-02-03 23:07:25 +01:00
{% endif %}
{% put metatags %}
<meta name="adrema_base_url" content="/adrema-api">
{% endput %}