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.
 
 
 
 

16 lines
927 B

{% 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 %}<div class="eventflyer"><img class="eventflyer" src="./{{ img|url|replace(".png","")|replace(".jpg","")|replace(".jpeg","")}}-medium.webp" loading="lazy" ></div>{% else %}<div class="filler"></div>{% 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 %}