eleventy-plugin-podcaster 2.0.0-alpha.5 → 2.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/podcastFeed.njk +3 -0
- package/.env +0 -5
- package/.prettierrc +0 -11
- package/ava.config.js +0 -3
package/package.json
CHANGED
package/src/podcastFeed.njk
CHANGED
|
@@ -63,6 +63,9 @@ eleventyAllowMissingExtension: true
|
|
|
63
63
|
{%- if post.data.episode.chapters %}
|
|
64
64
|
<podcast:chapters url="{{ [post.url, 'chapters.json'] | join('/') | htmlBaseUrl(siteUrl) }}"
|
|
65
65
|
type="application/json+chapters" />
|
|
66
|
+
{% elif post.data.episode.chaptersFile %}
|
|
67
|
+
<podcast:chapters url="{{ post.data.episode.chaptersFile | htmlBaseUrl(siteUrl) }}"
|
|
68
|
+
type="application/json+chapters" />
|
|
66
69
|
{% endif -%}
|
|
67
70
|
{% if podcast.episodeDescriptionTemplate %}
|
|
68
71
|
{%- set episodeDescription -%}
|
package/.env
DELETED
package/.prettierrc
DELETED
package/ava.config.js
DELETED