diff options
| author | Doge <guiqiqi187@gmail.com> | 2021-05-28 18:27:44 +0800 | 
|---|---|---|
| committer | Doge <guiqiqi187@gmail.com> | 2021-05-28 18:27:44 +0800 | 
| commit | 83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e (patch) | |
| tree | 62562cf07199816022baf4b9c796391a23fe6114 /scripts | |
| parent | 8509a71e550b0776e3af72230930665a01efb773 (diff) | |
| download | chromate-83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e.tar.gz chromate-83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e.tar.bz2 chromate-83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e.zip | |
Fix invalid rss summary
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/feed.js | 4 | 
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          });      }); | 
