summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDoge <[email protected]>2021-05-29 09:37:08 +0800
committerDoge <[email protected]>2021-05-29 09:37:08 +0800
commitf15a0c0380ce2c490929b261b4d4674aa280e947 (patch)
tree07f6ce006b219cc9f8d815659e277aa03357942c /scripts
parent83016ed0c4d3cd2f41cfde8cdd0d954a58fba10e (diff)
downloadchromate-f15a0c0380ce2c490929b261b4d4674aa280e947.tar.gz
chromate-f15a0c0380ce2c490929b261b4d4674aa280e947.tar.bz2
chromate-f15a0c0380ce2c490929b261b4d4674aa280e947.zip
Fix invalid copyright info in RSS and desc
Diffstat (limited to 'scripts')
-rw-r--r--scripts/feed.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/feed.js b/scripts/feed.js
index 5bf025b..1b1b368 100644
--- a/scripts/feed.js
+++ b/scripts/feed.js
@@ -32,7 +32,7 @@ hexo.extend.generator.register("feed", (locals) => {
const feed = new podcast({
title: config.title,
description: config.description,
- copyright: theme.copyright,
+ copyright: config.title + ' ' + theme.copyright,
language: config.language.slice(0, 2),
siteUrl: config.url,
imageUrl: theme.logo.rss,
@@ -76,7 +76,6 @@ hexo.extend.generator.register("feed", (locals) => {
itunesAuthor: post.podcast.authors.join(', '),
itunesExplicit: theme.rss.config.explicit,
itunesSubtitle: post.podcast.subtitle,
- itunesSummary: hstrip(description),
itunesDuration: post.podcast.duration
});
});