summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author135e2 <[email protected]>2022-05-29 10:32:22 +0800
committer135e2 <[email protected]>2022-05-29 10:32:22 +0800
commit5bcc2712fbc1ed3ac7fa56166176c984001dce50 (patch)
treec2d38893737cd97381a23617515472985067e162
parentdef02895045d3def6fb8dbd1a4d3a6948979c8ed (diff)
downloadchromate-5bcc2712fbc1ed3ac7fa56166176c984001dce50.tar.gz
chromate-5bcc2712fbc1ed3ac7fa56166176c984001dce50.tar.bz2
chromate-5bcc2712fbc1ed3ac7fa56166176c984001dce50.zip
feat: support itunesImage per podcast
-rw-r--r--scripts/feed.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/feed.js b/scripts/feed.js
index 1dc4300..3c567f3 100644
--- a/scripts/feed.js
+++ b/scripts/feed.js
@@ -80,7 +80,8 @@ hexo.extend.generator.register("feed", (locals) => {
itunesExplicit: theme.rss.config.explicit,
itunesSummary: hstrip(post.excerpt),
itunesSubtitle: post.podcast.subtitle,
- itunesDuration: post.podcast.duration
+ itunesDuration: post.podcast.duration,
+ itunesImage: post.podcast.cover,
});
});