Move podcast data onto the page
This commit is contained in:
parent
9719e84dd7
commit
b37f01f0e0
|
@ -100,11 +100,6 @@ events:
|
||||||
name: SWDUG
|
name: SWDUG
|
||||||
location: Cardiff, UK
|
location: Cardiff, UK
|
||||||
|
|
||||||
talking_drupal:
|
|
||||||
name: Talking Drupal
|
|
||||||
location: Online
|
|
||||||
url: https://www.talkingdrupal.com
|
|
||||||
|
|
||||||
umbristol:
|
umbristol:
|
||||||
name: umBristol
|
name: umBristol
|
||||||
location: Bristol, UK
|
location: Bristol, UK
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
title: Podcasts
|
title: Podcasts
|
||||||
|
podcasts:
|
||||||
|
talking_drupal:
|
||||||
|
name: Talking Drupal
|
||||||
episodes:
|
episodes:
|
||||||
- title: 'Episode #175 - Automated Testing'
|
- title: 'Episode #175 - Automated Testing'
|
||||||
description: I joined the Talking Drupal team to discuss automated testing.
|
description: I joined the Talking Drupal team to discuss automated testing.
|
||||||
event: talking_drupal
|
podcast: talking_drupal
|
||||||
date: 2018-09-05
|
date: 2018-09-05
|
||||||
url: http://talkingdrupal.com/175
|
url: http://talkingdrupal.com/175
|
||||||
---
|
---
|
||||||
|
@ -14,9 +17,9 @@ episodes:
|
||||||
</p>
|
</p>
|
||||||
</header> -->
|
</header> -->
|
||||||
|
|
||||||
<div>
|
<div class="spaced-y-8">
|
||||||
{% for episode in page.episodes|reverse %}
|
{% for episode in page.episodes|reverse %}
|
||||||
{% set podcast = site.events[episode.event] %}
|
{% set podcast = page.podcasts[episode.podcast] %}
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<h2>{{ podcast.name }}: {{ episode.title }}</h2>
|
<h2>{{ podcast.name }}: {{ episode.title }}</h2>
|
||||||
|
|
Reference in a new issue