From a6e77b08edeecc7514d35921fa7be69504d64344 Mon Sep 17 00:00:00 2001 From: zkqiang Date: Wed, 4 Dec 2019 15:07:41 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=9A=82=E6=97=B6=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E6=A0=87=E7=AD=BE=E7=9A=84=E8=AE=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/category.ejs | 2 +- layout/tag.ejs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/category.ejs b/layout/category.ejs index 7ebea836..146deed3 100644 --- a/layout/category.ejs +++ b/layout/category.ejs @@ -9,7 +9,7 @@ var date_cursor = 'xxx' %>
-

<%= __('postTotal', site.posts.length) %>

+
<% page.posts.each(function (post) { %> <% if(date(post.date, "YYYY") != date_cursor) { %> diff --git a/layout/tag.ejs b/layout/tag.ejs index 5392625e..8f5f8aec 100644 --- a/layout/tag.ejs +++ b/layout/tag.ejs @@ -9,7 +9,7 @@ var date_cursor = 'xxx' %>
-

<%= __('postTotal', site.posts.length) %>

+
<% page.posts.each(function (post) { %> <% if(date(post.date, "YYYY") != date_cursor) { %>