diff --git a/_config.yml b/_config.yml index e72a623..d53f9af 100644 --- a/_config.yml +++ b/_config.yml @@ -9,8 +9,8 @@ favicon: images/favicon.png avatar: images/favicon.png page: - left_side_width: 25 - right_side_width: 75 + left_side_width: 28 + right_side_width: 72 media_max_width: 960 @@ -20,10 +20,11 @@ page: # 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 + GitHub: https://github.com/XPoet || github E-Mail: mailto:i@xpoet.cn || envelope - # Google: https://plus.google.com/yourname || google - #Twitter: https://twitter.com/yourname || twitter + Google: https://plus.google.com/yourname || google + Twitter: https://twitter.com/yourname || twitter + Weibo: https://www.facebook.com/yourname || weibo #FB Page: https://www.facebook.com/yourname || facebook #VK Group: https://vk.com/yourname || vk #StackOverflow: https://stackoverflow.com/yourname || stack-overflow @@ -32,7 +33,6 @@ social: #Skype: skype:yourname?call|chat || skype -# 代码高亮设置 # Code Highlight theme # Available value: # normal | night | night eighties | night blue | night bright @@ -48,4 +48,23 @@ valine: appkey: gdf6tXXLBTLg9qpjS2y6Tbw7 # your leancloud application appkey notify: false # mail notifier , https://github.com/xCss/Valine/wiki verify: false # Verification code - placeholder: 评论一下再走吧~ \ No newline at end of file + placeholder: 评论一下再走吧~ + + +# Show PV/UV of the website/page with busuanzi. +# Get more information on http://ibruce.info/2015/04/04/busuanzi/ +busuanzi_count: + # count values only if the other configs are false + enable: true + # custom uv span for the whole site + site_uv: true + site_uv_header: + site_uv_footer: + # custom pv span for the whole site + site_pv: true + site_pv_header: + site_pv_footer: + # custom pv span for one page only + page_pv: false + page_pv_header: + page_pv_footer: \ No newline at end of file diff --git a/layout/common/footer.ejs b/layout/common/footer.ejs index a4baabe..900322e 100644 --- a/layout/common/footer.ejs +++ b/layout/common/footer.ejs @@ -1,10 +1,27 @@ \ No newline at end of file diff --git a/layout/common/site-info.ejs b/layout/common/site-info.ejs index bb59f30..7c99daf 100644 --- a/layout/common/site-info.ejs +++ b/layout/common/site-info.ejs @@ -1,24 +1,33 @@
- <%- image_tag(theme.avatar, {class: 'avatar'}) %> +
+ <%- image_tag(theme.avatar, {class: 'avatar'}) %> +
<%= config.title %>
<%= config.description %>
- + + + + + +
+ + + +
\ No newline at end of file diff --git a/source/css/layout/common/footer.styl b/source/css/layout/common/footer.styl index e4c731b..2936dfe 100644 --- a/source/css/layout/common/footer.styl +++ b/source/css/layout/common/footer.styl @@ -1,6 +1,12 @@ .footer { .info-container { + font-size: 12px; padding-bottom 10px text-align center } + + .info-item { + margin 1px 0 + } + } \ 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 ed28d57..6e73dd5 100644 --- a/source/css/layout/common/site-info.styl +++ b/source/css/layout/common/site-info.styl @@ -4,6 +4,7 @@ $logo-title-font-size = 28px $description-font-size = 16px .site-info { + padding 20px text-align: center; @@ -30,4 +31,37 @@ $description-font-size = 16px font-size: $description-font-size; } + .links-of-author-container { + margin-top: 10px; + + ul.links-of-author-list { + position: absolute; + left: 50%; + transform: translateX(-50%); + + li.links-of-author-item { + float: left + margin 0 5px + } + } + + } + + + .cc-license-container { + margin-top: 40px; + + .cc-opacity { + position: absolute; + left: 50%; + transform: translateX(-55%); + opacity: 0.7; + + &:hover { + opacity: 1; + + } + } + } + } \ No newline at end of file diff --git a/source/images/cc-by-nc-sa.svg b/source/images/cc-by-nc-sa.svg new file mode 100644 index 0000000..bf6bc26 --- /dev/null +++ b/source/images/cc-by-nc-sa.svg @@ -0,0 +1,121 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + +