From 83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e Mon Sep 17 00:00:00 2001 From: Doge Date: Fri, 28 May 2021 18:27:44 +0800 Subject: Fix invalid rss summary --- scripts/feed.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 }); }); -- cgit v1.2.3