Update for BrumPHP

This commit is contained in:
Oliver Davies 2024-05-23 17:09:30 +01:00
parent cb4b396577
commit 6f53f8c026
12 changed files with 551 additions and 71 deletions

View file

@ -0,0 +1,18 @@
{% set talks = site.talks|filter(talk => talk.speaker == page.name) %}
{% if talks is not empty %}
<section class="mt-10">
<h2 class="text-2xl font-bold">Talks
<span class="sr-only"> by {{ page.name }}</span></h2>
<div class="mt-6">
<ul class="pl-4 list-disc">
{% for talk in talks %}
<li>
<a class="hover:underline" href="#0">{{ talk.title }}</a>
</li>
{% endfor %}
</ul>
</div>
</section>
{% endif %}