From ce85ec8203299d43b71b53af6407f13d503d2fd5 Mon Sep 17 00:00:00 2001 From: XPoet Date: Sun, 22 Mar 2020 21:52:58 +0800 Subject: [PATCH] =?UTF-8?q?Add:=20=E5=BA=95=E9=83=A8=E7=89=88=E6=9D=83?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=92=8C=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 17 +++++++++++++++++ languages/en.yml | 1 + languages/zh-CN.yml | 3 ++- layout/common/footer.ejs | 9 +++++++-- source/css/layout/common/footer.styl | 4 ++-- source/css/layout/common/site-info.styl | 5 +++-- 6 files changed, 32 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index f3c7194..e72a623 100644 --- a/_config.yml +++ b/_config.yml @@ -14,6 +14,23 @@ page: media_max_width: 960 +# Social Links. +# Usage: `Key: permalink || icon` +# Key is the link label showing to end users. +# Value before `||` delimeter is the target permalink. +# Value after `||` delimeter is the name of FontAwesome icon. If icon (with or without delimeter) is not specified, globe icon will be loaded. +social: + GitHub: https://github.com/itPoet || github + E-Mail: mailto:i@xpoet.cn || envelope + # Google: https://plus.google.com/yourname || google + #Twitter: https://twitter.com/yourname || twitter + #FB Page: https://www.facebook.com/yourname || facebook + #VK Group: https://vk.com/yourname || vk + #StackOverflow: https://stackoverflow.com/yourname || stack-overflow + #YouTube: https://youtube.com/yourname || youtube + #Instagram: https://instagram.com/yourname || instagram + #Skype: skype:yourname?call|chat || skype + # 代码高亮设置 # Code Highlight theme diff --git a/languages/en.yml b/languages/en.yml index bcd56df..82d5a6f 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -11,6 +11,7 @@ page: Page %d recent_posts: Recent Posts share: Share powered_by: Powered by +theme_for: Theme for rss_feed: RSS Feed category: Category tag: Tag diff --git a/languages/zh-CN.yml b/languages/zh-CN.yml index 445cc29..6dfe573 100644 --- a/languages/zh-CN.yml +++ b/languages/zh-CN.yml @@ -11,7 +11,8 @@ archive_b: 归档:%s page: 第 %d 页 recent_posts: 最新文章 share: 分享 -powered_by: Powered by +powered_by: 由 %s 驱动 +theme_for: 主题为 rss_feed: RSS Feed category: 分类 tag: 标签 diff --git a/layout/common/footer.ejs b/layout/common/footer.ejs index 344a71d..a4baabe 100644 --- a/layout/common/footer.ejs +++ b/layout/common/footer.ejs @@ -1,5 +1,10 @@ \ No newline at end of file diff --git a/source/css/layout/common/footer.styl b/source/css/layout/common/footer.styl index 881fee0..e4c731b 100644 --- a/source/css/layout/common/footer.styl +++ b/source/css/layout/common/footer.styl @@ -1,6 +1,6 @@ .footer { - .copyright-info { - padding 5px + .info-container { + padding-bottom 10px text-align center } } \ No newline at end of file diff --git a/source/css/layout/common/site-info.styl b/source/css/layout/common/site-info.styl index 738c4c3..ed28d57 100644 --- a/source/css/layout/common/site-info.styl +++ b/source/css/layout/common/site-info.styl @@ -1,5 +1,6 @@ @require '../variables.styl' +$logo-title-font-size = 28px $description-font-size = 16px .site-info { @@ -10,7 +11,7 @@ $description-font-size = 16px padding: 2px; border-radius: 5%; border: 1px solid $border-color; - width: 130px; + width: 120px; } .title { @@ -19,7 +20,7 @@ $description-font-size = 16px a { color: $logo-title-color; - font-size: 30px; + font-size: $logo-title-font-size; font-weight: bold; } }