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.
24 lines
882 B
24 lines
882 B
{% extends "layout.html" %}
|
|
{% block title %}{{ this.title }}{% endblock %}
|
|
{% block body %}
|
|
{% if this.path == "/" %}
|
|
<div class="all">
|
|
|
|
{% set it = site.query('/agenda') %}
|
|
{% for child in it %}
|
|
{% set img = child.attachments.images.get(child.flyer) %}
|
|
<a href="{{ child|url }}" ><img alt="Flyer of the event {{child.title|replace('"','')}}" src="./{{img|url|replace(".png","")|replace(".jpg","")|replace(".jpeg","")}}-small.webp"></a>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div class="left no-scroll">
|
|
{% set img = this.attachments.images.get(this.image) %}
|
|
{% if img %}<img alt="unimportant image" src="./{{ img|url|replace(".png","")|replace(".jpg","")|replace(".jpeg","")}}-medium.webp">{% endif %}
|
|
</div>
|
|
<div class="right space-top">
|
|
<a href="{{ this. url }}">{{ this.title }}</a>
|
|
{{ this.body }}
|
|
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|