From cffcd28638e5cfb3efd7e28d2380c9c14d8e4980 Mon Sep 17 00:00:00 2001 From: XPoet Date: Wed, 25 Mar 2020 23:23:05 +0800 Subject: [PATCH] =?UTF-8?q?Add:=20=E6=96=87=E7=AB=A0=E9=98=85=E8=AF=BB?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/common/article-meta-info.ejs | 10 +++++++++- source/css/layout/variables.styl | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/layout/common/article-meta-info.ejs b/layout/common/article-meta-info.ejs index 7ac590f..b94ddb1 100644 --- a/layout/common/article-meta-info.ejs +++ b/layout/common/article-meta-info.ejs @@ -2,7 +2,7 @@ - <%= date(articleObject.date, 'YYYY-MM-DD HH:mm:ss') %> + <%= date(articleObject.date, is_post() ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD') %> @@ -32,4 +32,12 @@ <% } %> + + + <% if (theme.busuanzi_count.page_pv && is_post()) { %> + + + + <% } %> + \ No newline at end of file diff --git a/source/css/layout/variables.styl b/source/css/layout/variables.styl index 11bc267..19e97d5 100644 --- a/source/css/layout/variables.styl +++ b/source/css/layout/variables.styl @@ -53,7 +53,7 @@ $nav-selected-color = #4a4a4a $a-color = #666 // 超链接a标签悬浮颜色 -$a-hover-color = #135bce +$a-hover-color = #c625ce // 按钮颜色 $button-color = $default-font-color