From 0694550b6ff2db8aed5338d84165257eb68aedd3 Mon Sep 17 00:00:00 2001 From: XPoet Date: Wed, 25 Mar 2020 22:55:41 +0800 Subject: [PATCH] =?UTF-8?q?Update:=20=E4=BC=98=E5=8C=96=20valine=20?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E7=B3=BB=E7=BB=9F=E6=A0=B7=E5=BC=8F=E5=92=8C?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 4 ++-- layout/common/valine.ejs | 11 +++++++---- source/css/layout/common/valine.styl | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index f1efb4f..97c15ff 100644 --- a/_config.yml +++ b/_config.yml @@ -53,7 +53,7 @@ valine: # Get more information on http://ibruce.info/2015/04/04/busuanzi/ busuanzi_count: # count values only if the other configs are false - enable: false + enable: true # custom uv span for the whole site site_uv: true site_uv_header: @@ -63,7 +63,7 @@ busuanzi_count: site_pv_header: site_pv_footer: # custom pv span for one page only - page_pv: false + page_pv: true page_pv_header: page_pv_footer: diff --git a/layout/common/valine.ejs b/layout/common/valine.ejs index cf031a5..065ae26 100755 --- a/layout/common/valine.ejs +++ b/layout/common/valine.ejs @@ -1,15 +1,18 @@ <% if(theme.valine.enable && theme.valine.appid && theme.valine.appkey) { %>
- -
+ + +
diff --git a/source/css/layout/common/valine.styl b/source/css/layout/common/valine.styl index eff264b..bb8ded9 100644 --- a/source/css/layout/common/valine.styl +++ b/source/css/layout/common/valine.styl @@ -1,7 +1,7 @@ @require '../variables.styl' .valine-container { - #valine { + #vcomments { .vheader {