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/
|
||||
pages:
|
||||
permalink: /:basename/
|
||||
podcast_episode:
|
||||
podcast_episodes:
|
||||
permalink: /podcast/:basename/
|
||||
posts:
|
||||
enabled: false
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue