Add havelseite
This commit is contained in:
22
generator/templates/event.html
Normal file
22
generator/templates/event.html
Normal file
@ -0,0 +1,22 @@
|
||||
<section class="event-section">
|
||||
<article class="event-box{% if image %} event-has-image{% endif %}">
|
||||
<div class="event-content">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
|
||||
<dl class="event-facts">
|
||||
{% for key, value in values.items() %}
|
||||
<div>
|
||||
<dt>{{ key.replace("_", " ").title() }}</dt>
|
||||
<dd>{{ value | safe }}</dd>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
|
||||
{% if image %}
|
||||
<figure class="event-image">
|
||||
<img src="{{ image.src }}" alt="{{ image.alt }}">
|
||||
</figure>
|
||||
{% endif %}
|
||||
</article>
|
||||
</section>
|
||||
Reference in New Issue
Block a user