Update variable names
This commit is contained in:
parent
94a4190be6
commit
b6557d4ece
|
@ -8,14 +8,14 @@ use: [presentations]
|
|||
|
||||
<p>Since September 2012, I have given {{ presentation_count }} 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 talk in data.presentations|sort((a, b) => a.events|last.date|date('U') > b.events|last.date|date('U') ? -1 : 1) %}
|
||||
{% 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="{{ talk.url|trim('/', 'right') }}">{{ talk.title }}</a>
|
||||
<a class="font-bold text-blue-primary dark:text-blue-400" href="{{ presentation.url|trim('/', 'right') }}">{{ presentation.title }}</a>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<p>{{ talk.description }}</p>
|
||||
<p>{{ presentation.description }}</p>
|
||||
</article>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue