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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleventy-plugin-podcaster",
3
- "version": "2.0.0-alpha.5",
3
+ "version": "2.0.0-alpha.7",
4
4
  "description": "An Eleventy plugin that allows you to create a podcast and its accompanying website",
5
5
  "main": "eleventy.config.js",
6
6
  "exports": {
@@ -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
@@ -1,5 +0,0 @@
1
- BUCKET_SECRET_KEY="GiBsTUbU7VwKdSZGZKvYb47i87lWjkUXRH1Edd+I2KQ"
2
- BUCKET_ACCESS_KEY="DO801WKX4LJP3Y9DWE2H"
3
- BUCKET_ENDPOINT="https://sfo3.digitaloceanspaces.com"
4
- BUCKET_REGION="us-east-1"
5
- BUCKET_NAME="startlingbarbarabain"
package/.prettierrc DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "overrides": [
3
- {
4
- "files": ["*.jsonc"],
5
- "options": {
6
- "parser": "json",
7
- "trailingComma": "none"
8
- }
9
- }
10
- ]
11
- }
package/ava.config.js DELETED
@@ -1,3 +0,0 @@
1
- export default {
2
- files: ['test/**/*', '!test/v1']
3
- }