Move podcast data onto the page
This commit is contained in:
parent
9719e84dd7
commit
b37f01f0e0
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue