Move podcast data onto the page

This commit is contained in:
Oliver Davies 2019-03-08 13:48:58 +00:00
parent 9719e84dd7
commit b37f01f0e0
2 changed files with 6 additions and 8 deletions

View file

@ -100,11 +100,6 @@ events:
name: SWDUG
location: Cardiff, UK
talking_drupal:
name: Talking Drupal
location: Online
url: https://www.talkingdrupal.com
umbristol:
name: umBristol
location: Bristol, UK

View file

@ -1,10 +1,13 @@
---
layout: default
title: Podcasts
podcasts:
talking_drupal:
name: Talking Drupal
episodes:
- title: 'Episode #175 - Automated Testing'
description: I joined the Talking Drupal team to discuss automated testing.
event: talking_drupal
podcast: talking_drupal
date: 2018-09-05
url: http://talkingdrupal.com/175
---
@ -14,9 +17,9 @@ episodes:
</p>
</header> -->
<div>
<div class="spaced-y-8">
{% for episode in page.episodes|reverse %}
{% set podcast = site.events[episode.event] %}
{% set podcast = page.podcasts[episode.podcast] %}
<article>
<h2>{{ podcast.name }}: {{ episode.title }}</h2>