wi-adrema-plugin/views/head.htm

19 lines
611 B
HTML

{% 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 %}
{% put metatags %}
<meta name="adrema_base_url" content="/adrema-api">
{% endput %}
<script type="text/javascript">
var adrema_event = {{__SELF__.event.config | json_encode | raw}};
</script>