Rename podcast episode content type

This commit is contained in:
Oliver Davies 2024-01-03 20:00:00 +00:00
parent af093718de
commit 032189bf51
8 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@ sculpin_content_types:
permalink: /archive/:year/:month/:day/:basename/
pages:
permalink: /:basename/
podcast_episode:
podcast_episodes:
permalink: /podcast/:basename/
posts:
enabled: false

View file

@ -1,6 +1,7 @@
---
title: The Beyond Blocks podcast
use: [podcast_episode]
use:
- podcast_episodes
---
{% block content_bottom %}{% endblock %}
@ -12,7 +13,7 @@ Subscribe at <https://feeds.transistor.fm/beyond-blocks>.
## Episodes
{% for episode in data.podcast_episode|reverse %}
{% for episode in data.podcast_episodes|reverse %}
{% set episodeNumber = episode.url|trim('/')|split('/')|last|split('-')|first %}
<h3>