Merge pull request #65 from opdavies/how-to-code-well-podcast
Add 'How to code Well' podcast episode
This commit is contained in:
commit
666aee33eb
|
@ -2,6 +2,8 @@
|
||||||
layout: default
|
layout: default
|
||||||
title: Podcasts
|
title: Podcasts
|
||||||
podcasts:
|
podcasts:
|
||||||
|
howtocodewell:
|
||||||
|
name: How to Code Well
|
||||||
talking_drupal:
|
talking_drupal:
|
||||||
name: Talking Drupal
|
name: Talking Drupal
|
||||||
episodes:
|
episodes:
|
||||||
|
@ -10,13 +12,29 @@ episodes:
|
||||||
podcast: talking_drupal
|
podcast: talking_drupal
|
||||||
date: 2018-09-05
|
date: 2018-09-05
|
||||||
url: http://talkingdrupal.com/175
|
url: http://talkingdrupal.com/175
|
||||||
|
audio: true
|
||||||
|
|
||||||
- title: 'Episode #204 - A Few Things'
|
- title: 'Episode #204 - A Few Things'
|
||||||
description: I joined the Talking Drupal team again, where we discussed Drupal updates, conferences and more.
|
description: I joined the Talking Drupal team again, where we discussed Drupal updates, conferences and more.
|
||||||
podcast: talking_drupal
|
podcast: talking_drupal
|
||||||
date: 2019-03-25
|
date: 2019-03-25
|
||||||
url: http://talkingdrupal.com/204
|
url: http://talkingdrupal.com/204
|
||||||
|
audio: true
|
||||||
|
|
||||||
|
- title: What's new in Drupal 8+
|
||||||
|
description: Talking about Drupal, open source, Drupal 7 vs Drupal 8, module development, testing and more.
|
||||||
|
podcast: howtocodewell
|
||||||
|
date: 2019-04-12
|
||||||
|
url: https://howtocodewell.fm/episode/15-whats-new-in-drupal-8-plus-oliver-davies-interview
|
||||||
|
audio: true
|
||||||
|
video: true
|
||||||
---
|
---
|
||||||
|
{% macro episodeTitle(podcast, episode) -%}
|
||||||
|
{{ podcast.name }}: {{ episode.title }}
|
||||||
|
{%- endmacro %}
|
||||||
|
|
||||||
|
{% import _self as helpers %}
|
||||||
|
|
||||||
<!-- <header class="mb-6">
|
<!-- <header class="mb-6">
|
||||||
<p class="text-lg">
|
<p class="text-lg">
|
||||||
I’m an occasional guest on podcasts such as Talking Drupal.
|
I’m an occasional guest on podcasts such as Talking Drupal.
|
||||||
|
@ -29,9 +47,13 @@ episodes:
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<h2 class="text-lg">
|
<h2 class="text-lg">
|
||||||
<a href="{{ episode.url }}" class="text-inherit" tabindex="-1">
|
{% if episode.url %}
|
||||||
{{ podcast.name }}: {{ episode.title }}
|
<a href="{{ episode.url }}" class="text-inherit" tabindex="-1">
|
||||||
</a>
|
{{ helpers.episodeTitle(podcast, episode) }}
|
||||||
|
</a>
|
||||||
|
{% else %}
|
||||||
|
{{ helpers.episodeTitle(podcast, episode) }}
|
||||||
|
{% endif %}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<time class="text-sm text-gray-800 block mt-px mb-2" datetime="{{ episode.date|date('Y-m-d') }}">
|
<time class="text-sm text-gray-800 block mt-px mb-2" datetime="{{ episode.date|date('Y-m-d') }}">
|
||||||
|
@ -40,11 +62,17 @@ episodes:
|
||||||
|
|
||||||
<p>{{ episode.description }}</p>
|
<p>{{ episode.description }}</p>
|
||||||
|
|
||||||
<a href="{{ episode.url }}" class="inline-block mt-2 text-sm text-gray-600 hover:text-gray-800 focus:text-gray-800">
|
{% if episode.url %}
|
||||||
{{ episode.video ? 'Watch' : 'Listen to' }} this
|
<a href="{{ episode.url }}" class="inline-block mt-2 text-sm text-gray-600 hover:text-gray-800 focus:text-gray-800">
|
||||||
<span class="visuallyhidden">{{ podcast.name }}</span>
|
{% if episode.video %}
|
||||||
episode →
|
Watch {{ episode.video and episode.audio ? 'or listen to' }}
|
||||||
</a>
|
{% elseif episode.audio %}
|
||||||
|
Listen to
|
||||||
|
{% endif %} this
|
||||||
|
<span class="visuallyhidden">{{ podcast.name }}</span>
|
||||||
|
episode →
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue