summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author135e2 <[email protected]>2022-06-02 20:39:06 +0800
committer135e2 <[email protected]>2022-06-03 11:31:52 +0800
commit88fb0d394f6b0be798ca31371b6b732c65230781 (patch)
tree4501c6dc07a0fbecc28cabb512d4ccda516e26e1
parent68d0822b2997364a02f847cffb6eaef12377081f (diff)
downloadchromate-88fb0d394f6b0be798ca31371b6b732c65230781.tar.gz
chromate-88fb0d394f6b0be798ca31371b6b732c65230781.tar.bz2
chromate-88fb0d394f6b0be798ca31371b6b732c65230781.zip
chore: adapt config file
-rw-r--r--_config.yml30
-rw-r--r--layout/_partial/footer.ejs4
2 files changed, 17 insertions, 17 deletions
diff --git a/_config.yml b/_config.yml
index ac53ea8..d0899eb 100644
--- a/_config.yml
+++ b/_config.yml
@@ -4,10 +4,10 @@
# 在这里填入你的 Logo 地址 - 包括黑暗/白天模式
# 不要忘记把 enable 改成 true 哦~
logo:
- enable: false
- lightmode: null
- darkmode: null
- rss: null
+ enable: true
+ lightmode: /logo.png
+ darkmode: /logo.png
+ rss: /logo.png
# Header size
# Select from: ["fullheight", "large", "medium", "default"]
@@ -24,7 +24,7 @@ header:
# Favicon file link
# ------------------------------------------------------------
# Favicon 文件地址
-favicon: false
+favicon: /favicon.ico
# Datetime format for most of positions
# ------------------------------------------------------------
@@ -43,7 +43,7 @@ lazyload: true
# Your Copyright String will be shown in footer
# ------------------------------------------------------------
# 你的版权信息会显示在页脚
-copyright: 'All rights reserved.'
+copyright: 'All rights reserved @ 135e2'
# Enable code auto Highlight or not
# Then select one lightmode and darkmode style here:
@@ -69,9 +69,10 @@ highlight:
# 配置格式:
# ['链接地址', '图标类', '图标之后的文字']
navbar:
- - ['mailto:[email protected]', 'fa fa-paper-plane', '']
- - ['https://github.com/guiqiqi/chromate', 'fa fa-github', '']
- - ['/feed.rss', 'fa fa-rss', '']
+ - ['mailto:[email protected]', 'fa fa-paper-plane', 'Email']
+ - ['http://git.135e2.tk/135e2/MeaninglessRecords', 'fa fa-github', 'Source']
+ - ['https://linktr.ee/135e2', 'fa fa-external-link', 'Linktree']
+ - ['/feed.xml', 'fa fa-rss', 'RSS Link']
# Subnav configuration will show below navbar with a horizontal divider
# Configuration format as same as previous
@@ -81,14 +82,13 @@ navbar:
subnav:
- ['#love', 'fa fa-heart', 'Love']
- ['#peace', 'fa fa-globe', 'Peace']
- - ['#human', 'fa fa-male', 'Human']
# Menubar and its texts
# ------------------------------------------------------------
# 菜单栏的地址和文字
menubar:
- - ['/about/', 'About']
- - ['/archives/', 'Archives']
+ - ['/about/', '关于']
+ - ['/archives/', '存档']
# RSS auto generation configuration
# enable: true or false
@@ -113,11 +113,11 @@ menubar:
# explicit: 如果你的播客有羞羞的内容,那么改成 true
rss:
enable: true
- path: '/feed.rss'
+ path: '/feed.xml'
config:
category: {
- 'Education': ['How To', 'Language Learning'],
+ 'Life': [],
'Technology': []
}
explicit: false
diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs
index 492ca72..21dd83b 100644
--- a/layout/_partial/footer.ejs
+++ b/layout/_partial/footer.ejs
@@ -6,7 +6,7 @@
<div class="footer-power">
<p>Powered by <a href="https://hexo.io" rel="noopener noreferrer" target="_blank">Hexo</a>
<i class="fa fa-heart has-text-danger"></i>
- Theme <a href="https://github.com/guiqiqi/chromate" rel="noopener noreferrer" target="_blank">Chromate</a>
+ Theme <a href="http://git.135e2.tk/135e2/chromate" rel="noopener noreferrer" target="_blank">Chromate</a>
</div>
</div>
-</footer> \ No newline at end of file
+</footer>