Change presented at list
This commit is contained in:
parent
0d5efc492a
commit
d7958cc762
|
@ -1,11 +1,21 @@
|
||||||
{% set talks = getAllTalks([page], site.events) %}
|
{% if page.events %}
|
||||||
{% if talks is not empty %}
|
|
||||||
<div class="mt-8">
|
<div class="mt-8">
|
||||||
<h2 class="mb-2">Events</h2>
|
<h2 class="mb-2">Presented at</h2>
|
||||||
|
|
||||||
{% include "talks/table" with {
|
<ul class="markup">
|
||||||
talks: talks|reverse,
|
{% for event in page.events %}
|
||||||
talk_page: true
|
<li>
|
||||||
} %}
|
{% set eventData = site.events[event.event] %}
|
||||||
|
{% if eventData.url %}
|
||||||
|
<a href="{{ eventData.url }}">{{ eventData.name }}</a>
|
||||||
|
{% else %}
|
||||||
|
{{ eventData.name }}
|
||||||
|
{% endif %}
|
||||||
|
{% if eventData.location %}
|
||||||
|
in {{ eventData.location }}
|
||||||
|
{% endif %}
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue