From 8a8a5d7c13bdcadc03a72a6347e0d778598b96b4 Mon Sep 17 00:00:00 2001 From: Darin Pope Date: Fri, 28 Aug 2020 20:53:28 -0400 Subject: [PATCH] fixes #246 Signed-off-by: Darin Pope --- REFERENCE.md | 1 + archetypes/episode.md | 1 + layouts/section/episode.rss.xml | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/REFERENCE.md b/REFERENCE.md index 9355cc59..d7405438 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -279,6 +279,7 @@ Graphical user interface influencer value proposition startup hackathon iPad ana | `podcast_file` | Yes | The filename of your episode, relative to the `media_prefix` of your config.toml. | `"arrested-devops-podcast-episode053.mp3"` | | `podcast_bytes` | No | The length of the podcast file in bytes. This is optional, but Apple Podcasts and many other podcast players prefer this to be set. | "23907533" | | `Title` | Yes | The title of the episode. | "Back to School" | +| `subtitle` | No | The subtitle of the episode. Only used in the RSS feed in the `itunes:subtitle` tag. If this value is empty/nil, the value from Description will be used. Truncated at 243 characters. | "Back to School" | | `youtube` | No | The ID of the YouTube video (not the full URL). This will display the video on the episode page, and if you are using the row layout, it will display for the latest episode. | "8ClZXJsgpHY" | | `truncate` | No | The number of characters to truncate the summary on the row layout.. The default value (if not set) is 600 characters. | "700" | | `guid` | No | A fixed, globally unique identifier for the episode which should never change. If one is not specified the URL of the `podcast_file` will be used instead. | "aae20190418" | diff --git a/archetypes/episode.md b/archetypes/episode.md index d9b9cf94..62553057 100644 --- a/archetypes/episode.md +++ b/archetypes/episode.md @@ -11,6 +11,7 @@ episode_image = "img/episode/default.jpg" #sponsors = [] #episode = "" title = "" +#subtitle = "" images = ["img/episode/default-social.jpg"] #hosts = [] # The names of your hosts, based on the filename without extension. #aliases = ["/##"] diff --git a/layouts/section/episode.rss.xml b/layouts/section/episode.rss.xml index b160862c..ca9944ac 100644 --- a/layouts/section/episode.rss.xml +++ b/layouts/section/episode.rss.xml @@ -87,6 +87,13 @@ {{ . }} {{ end }} {{ title .Title }} + {{"" | safeHTML}} {{ .Description | plainify }} {{ .Description | plainify }} {{ .Description | plainify }}