Hide events with empty dates on a specific talk page
TODO: Move into the TalksExtension Twig functions. GH-160
This commit is contained in:
parent
373750b76c
commit
d57b8ccae0
|
@ -5,7 +5,7 @@
|
|||
<h2 class="mb-2">Presented at</h2>
|
||||
|
||||
<ul class="markup list-disc ml-5">
|
||||
{% for event in page.events %}
|
||||
{% for event in page.events if not event.date is empty %}
|
||||
<li>
|
||||
{% set eventData = site.events[event.event] %}
|
||||
{% if eventData.url %}
|
||||
|
|
Loading…
Reference in a new issue