Show talks for each speaker

This commit is contained in:
Oliver Davies 2024-02-06 08:00:00 +00:00
parent 5980780fb5
commit b751812f3b
2 changed files with 42 additions and 0 deletions

View file

@ -1,2 +1,27 @@
name: 'PHPSW'
locale: en
talks:
- title: Building Static Websites with PHP and Sculpin
speaker: Oliver Davies
- title: 'FPGA^2: An open-source FPGA'
speaker: Robin Hodson
- title: Introducing Domain Driven Design
speaker: Rob Allen
- title: Building Better TUIs (with PHP)
speaker: Dan Leech
- title: Thoughts on Ubiquitous Language
speaker: Rob Allen
- title: Testing Legacy
speaker: Mike Karthauser
- title: Building "Build Configs"
speaker: Oliver Davies
- title: Terraform from a devs perspective
speaker: Nigel Dunn
- title: What is TDD and why should I care?
speaker: Naomi Gotts
- title: Go for PHP
speaker: Dan Leech
- title: What's new in PHP 8.*
speaker: Derick Rethans
- title: Behaviour Driven Development (BDD) in Practice
speaker: Ciaran McNulty

View file

@ -14,4 +14,21 @@
<div class="mt-10">
<em>{{ block('content') }}</em>
</div>
{% 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 %}
{% endblock %}