Rename podcast episode content type
This commit is contained in:
parent
af093718de
commit
032189bf51
|
@ -3,7 +3,7 @@ sculpin_content_types:
|
||||||
permalink: /archive/:year/:month/:day/:basename/
|
permalink: /archive/:year/:month/:day/:basename/
|
||||||
pages:
|
pages:
|
||||||
permalink: /:basename/
|
permalink: /:basename/
|
||||||
podcast_episode:
|
podcast_episodes:
|
||||||
permalink: /podcast/:basename/
|
permalink: /podcast/:basename/
|
||||||
posts:
|
posts:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: The Beyond Blocks podcast
|
title: The Beyond Blocks podcast
|
||||||
use: [podcast_episode]
|
use:
|
||||||
|
- podcast_episodes
|
||||||
---
|
---
|
||||||
|
|
||||||
{% block content_bottom %}{% endblock %}
|
{% block content_bottom %}{% endblock %}
|
||||||
|
@ -12,7 +13,7 @@ Subscribe at <https://feeds.transistor.fm/beyond-blocks>.
|
||||||
|
|
||||||
## Episodes
|
## Episodes
|
||||||
|
|
||||||
{% for episode in data.podcast_episode|reverse %}
|
{% for episode in data.podcast_episodes|reverse %}
|
||||||
{% set episodeNumber = episode.url|trim('/')|split('/')|last|split('-')|first %}
|
{% set episodeNumber = episode.url|trim('/')|split('/')|last|split('-')|first %}
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
|
|
Loading…
Reference in a new issue