Add a pages content type and move page files
This commit is contained in:
parent
7087bbbb7f
commit
e1573ef072
38 changed files with 2 additions and 0 deletions
19
source/_pages/presentations.html.twig
Normal file
19
source/_pages/presentations.html.twig
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
layout: page
|
||||
title: Presentations
|
||||
use: [presentations]
|
||||
---
|
||||
|
||||
<p>Since September 2012, I have given {{ get_presentation_count(data.presentations) }} public talks and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration.</p>
|
||||
|
||||
{% for presentation in data.presentations|sort((a, b) => a.events|last.date|date('U') > b.events|last.date|date('U') ? -1 : 1) %}
|
||||
<article>
|
||||
<div class="not-prose">
|
||||
<h2 class="text-xl font-bold">
|
||||
<a class="font-bold text-blue-primary dark:text-blue-400" href="{{ presentation.url|trim('/', 'right') }}">{{ presentation.title }}</a>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<p>{{ presentation.description }}</p>
|
||||
</article>
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue