summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDoge <[email protected]>2021-05-28 18:27:44 +0800
committerDoge <[email protected]>2021-05-28 18:27:44 +0800
commit83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e (patch)
tree62562cf07199816022baf4b9c796391a23fe6114 /scripts
parent8509a71e550b0776e3af72230930665a01efb773 (diff)
downloadchromate-83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e.tar.gz
chromate-83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e.tar.bz2
chromate-83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e.zip
Fix invalid rss summary
Diffstat (limited to 'scripts')
-rw-r--r--scripts/feed.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/feed.js b/scripts/feed.js
index f1a2fc9..5bf025b 100644
--- a/scripts/feed.js
+++ b/scripts/feed.js
@@ -69,14 +69,14 @@ hexo.extend.generator.register("feed", (locals) => {
author: post.podcast.authors.join(', '),
date: post.date,
enclosure: {
- url: post.podcast.media.url,
+ url: url,
type: post.podcast.media.type,
size: post.podcast.media.size
},
itunesAuthor: post.podcast.authors.join(', '),
itunesExplicit: theme.rss.config.explicit,
itunesSubtitle: post.podcast.subtitle,
- itunesSummary: hstrip(post.excerpt),
+ itunesSummary: hstrip(description),
itunesDuration: post.podcast.duration
});
});