extratonal.org website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
871 B

1 year ago
{% 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"></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 %}