Re-add pseudo talks

This commit is contained in:
Oliver Davies 2017-10-27 22:55:09 +01:00
parent d38d6be307
commit e0e93e4fe5
2 changed files with 17 additions and 4 deletions

View file

@ -11,9 +11,13 @@
{% if not talk_page %}
<td class="pa2">
{% if row.talk.url is not empty %}
<a href="{{ row.talk.url }}">
{{ row.talk.title }}
</a>
{% else %}
{{ row.talk.title }}
{% endif %}
<small class="db black-70">
{{ row.event.type|default('Talk') }}

View file

@ -2,11 +2,20 @@
layout: page
title: Talk Archive
use: [talks]
talks:
- title: 'Drupal and the LDAP module'
events:
- date: '2013-07-10'
event: swdug
- title: 'About the Drupal Association'
events:
- date: '2014-08-19'
event: swdug
---
<p>Here are a list of my previous conference and user group talks:</p>
{% set talks = [] %}
{% for talk in data.talks %}
{% for talk in data.talks|merge(page.talks) %}
{% for event in talk.events %}
{% set talks = talks|merge([{
event: event|merge(site.events[event.event]),