PHP Thames Valley

This commit is contained in:
Oliver Davies 2025-03-20 22:42:15 +00:00
parent 4c7d05faad
commit 81222d002f
7 changed files with 51 additions and 6 deletions

View file

@ -2,4 +2,18 @@
{% block content_wrapper %}
<h1>{{ page.name }}</h1>
<img style="height: 50px; width: 50px;" src="{{ page.imageUrl }}"/>
{% block content %}{% endblock %}
<hr>
{% for talk in data.talks if talk.speakers.0 == page.name %}
<li>
<a href="{{ talk.url }}">
{{ talk.title }}
</a>
</li>
{% endfor %}
{% endblock %}

View file

@ -2,4 +2,10 @@
{% block content_wrapper %}
<h1>{{ page.title }}</h1>
{{ page.date|date('jS F Y') }}
{% for speaker in page.speakers %}
{{ speaker }}
{% endfor %}
{% endblock %}

View file

@ -1,4 +1,6 @@
---
name: Dan Leech
imageUrl: /images/highres_257208698.jpeg
layout: speaker
use: [talks]
---

View file

@ -1,4 +1,15 @@
---
layout: base
title: Hello, World!
title: Hello, PHP Thames Valley!
use: [talks]
---
<ul>
{% for talk in data.talks %}
<li>
<a href="{{ talk.url }}">
{{ talk.title }}
</a>
</li>
{% endfor %}
</ul>