This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/podcasts.html.twig

79 lines
2.6 KiB
Twig
Raw Normal View History

2019-03-08 10:11:46 +00:00
---
layout: default
title: Podcasts
2019-03-08 13:48:58 +00:00
podcasts:
2019-03-20 22:38:13 +00:00
howtocodewell:
name: How to Code Well
2019-03-08 13:48:58 +00:00
talking_drupal:
name: Talking Drupal
2019-03-08 10:11:46 +00:00
episodes:
- title: 'Episode #175 - Automated Testing'
description: I joined the Talking Drupal team to discuss automated testing.
2019-03-08 13:48:58 +00:00
podcast: talking_drupal
2019-03-08 10:11:46 +00:00
date: 2018-09-05
url: http://talkingdrupal.com/175
2019-04-12 20:20:05 +00:00
audio: true
2019-03-20 22:35:57 +00:00
- title: 'Episode #204 - A Few Things'
description: I joined the Talking Drupal team again, where we discussed Drupal updates, conferences and more.
podcast: talking_drupal
2019-03-25 11:11:47 +00:00
date: 2019-03-25
2019-03-20 22:35:57 +00:00
url: http://talkingdrupal.com/204
2019-04-12 20:20:05 +00:00
audio: true
2019-03-20 22:38:13 +00:00
2019-04-12 20:17:52 +00:00
- title: What's new in Drupal 8+
description: Talking about Drupal, open source, Drupal 7 vs Drupal 8, module development, testing and more.
2019-03-20 22:38:13 +00:00
podcast: howtocodewell
2019-04-11 00:12:39 +00:00
date: 2019-04-12
2019-04-12 20:17:52 +00:00
url: https://howtocodewell.fm/episode/15-whats-new-in-drupal-8-plus-oliver-davies-interview
2019-04-12 20:20:05 +00:00
audio: true
video: true
2019-03-08 10:11:46 +00:00
---
{% macro episodeTitle(podcast, episode) -%}
{{ podcast.name }}: {{ episode.title }}
{%- endmacro %}
{% import _self as helpers %}
2019-03-08 10:11:46 +00:00
<!-- <header class="mb-6">
<p class="text-lg">
Im an occasional guest on podcasts such as Talking Drupal.
</p>
</header> -->
2019-03-20 22:36:04 +00:00
<div class="spaced-y-10">
2019-03-08 10:11:46 +00:00
{% for episode in page.episodes|reverse %}
2019-03-08 13:48:58 +00:00
{% set podcast = page.podcasts[episode.podcast] %}
2019-03-08 10:11:46 +00:00
<article>
2019-03-25 23:24:31 +00:00
<h2 class="text-lg">
{% if episode.url %}
<a href="{{ episode.url }}" class="text-inherit" tabindex="-1">
{{ helpers.episodeTitle(podcast, episode) }}
</a>
{% else %}
{{ helpers.episodeTitle(podcast, episode) }}
{% endif %}
2019-03-25 23:24:31 +00:00
</h2>
2019-03-08 10:11:46 +00:00
2019-03-21 09:38:09 +00:00
<time class="text-sm text-gray-800 block mt-px mb-2" datetime="{{ episode.date|date('Y-m-d') }}">
2019-03-08 10:11:46 +00:00
{{ episode.date|date('jS F Y') }}
</time>
<p>{{ episode.description }}</p>
{% if episode.url %}
<a href="{{ episode.url }}" class="inline-block mt-2 text-sm text-gray-600 hover:text-gray-800 focus:text-gray-800">
2019-04-12 20:20:17 +00:00
{% if episode.video %}
Watch {{ episode.video and episode.audio ? 'or listen to' }}
{% elseif episode.audio %}
Listen to
{% endif %} this
<span class="visuallyhidden">{{ podcast.name }}</span>
episode &rarr;
</a>
{% endif %}
2019-03-08 10:11:46 +00:00
</article>
{% endfor %}
</div>