17 lines
887 B
HTML
17 lines
887 B
HTML
{% extends "layout.html" %}
|
|
{% block title %}{{ this.title }}{% endblock %}
|
|
{% from "macros/list.html" import list %}
|
|
{% block body %}
|
|
<div class="left">
|
|
{{ list(this.parent.children,this) }}
|
|
</div>
|
|
<div class="right">
|
|
{% set img = this.attachments.images.get(this.flyer) %}
|
|
{% if img %}<p class="eventflyer"><img class="eventflyer" src="./{{ img|url|replace(".png","")|replace(".jpg","")|replace(".jpeg","")}}-medium.webp" loading="lazy" ></p>{% endif %}
|
|
<a class="nav-link boxhead shadow" href={{ this.url }}>{{ this.title }}</a>
|
|
<div class="eventmeta"><b>Date: </b>{{ this.start_date|datetimeformat('yyyy/MM/dd H:mm')}} - {{ this.end_date|datetimeformat('yyyy/MM/dd H:mm')}}</div>
|
|
<div class="eventmeta"><b>Location: </b><a href="https://www.openstreetmap.org/#map=19/{{this.latlon}}" >{{ this.location}}</a></div>
|
|
{{ this.content }}
|
|
</div>
|
|
{% endblock %}
|