oliverdavies.uk/source/_partials/talk/events.html.twig
Oliver Davies ad8a538172 Add some base markdown styles
This is lighter-weight and arguably easier to configure that Tailwind's
typography plugin though I could switch to it at a later date if needed.
2021-06-30 12:02:55 +01:00

18 lines
499 B
Twig

{% if events is not empty %}
<div class="markdown">
<h2>Events</h2>
<ul>
{% for event in events %}
{% include 'talk/events/event.html.twig' with {
date: event.date,
is_online: event.is_online ?? false,
location: event.location,
name: event.name,
url: event.url,
} only %}
{% endfor %}
</ul>
</div>
{% endif %}