summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoge <[email protected]>2021-05-21 02:28:20 +0800
committerDoge <[email protected]>2021-05-21 02:28:20 +0800
commitc2da19e13d5b38c465192c0d4ac0437c01c4fb22 (patch)
treeb6f6cb1aeb4243628ea9320d7371af59836e62f1
parent1ddf126da6faf0ea53240491903022ac2a0ce8e1 (diff)
downloadchromate-c2da19e13d5b38c465192c0d4ac0437c01c4fb22.tar.gz
chromate-c2da19e13d5b38c465192c0d4ac0437c01c4fb22.tar.bz2
chromate-c2da19e13d5b38c465192c0d4ac0437c01c4fb22.zip
Add RSS feeding logo
-rw-r--r--_config.yml1
-rw-r--r--scripts/feed.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index 0d86089..4eb5da7 100644
--- a/_config.yml
+++ b/_config.yml
@@ -7,6 +7,7 @@ logo:
enable: false
lightmode: null
darkmode: null
+ rss: null
# Header size
# Select from: ["fullheight", "large", "medium", "default"]
diff --git a/scripts/feed.js b/scripts/feed.js
index f8b917c..87e672b 100644
--- a/scripts/feed.js
+++ b/scripts/feed.js
@@ -34,7 +34,7 @@ hexo.extend.generator.register("feed", (locals) => {
copyright: theme.copyright,
language: config.language.slice(0, 2),
siteUrl: config.url,
- imageUrl: theme.logo.lightmode,
+ imageUrl: theme.logo.rss,
itunesSubtitle: config.subtitle,
itunesSummary: config.description,
itunesAuthor: config.author,