From 49f325b3845875b7f119240eec907967cbbadf51 Mon Sep 17 00:00:00 2001 From: isAlive <980099577@qq.com> Date: Wed, 16 Oct 2019 23:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E7=9B=AE=E5=BD=95=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=EF=BC=8C=E5=B0=B1=E4=B8=8D=E8=A6=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=E7=9B=AE=E5=BD=95=E8=BF=99=E4=B8=AAwidget?= =?UTF-8?q?=E4=BA=86=EF=BC=8C=E7=9C=8B=E8=B5=B7=E6=9D=A5=E6=9C=89=E7=82=B9?= =?UTF-8?q?=E5=A5=87=E6=80=AA=20(#542)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 当目录为空的时候,就不要生成这个widget了,看起来有点奇怪 * 当目录为空的时候,就不要生成这个widget了,看起来有点奇怪 --- layout/widget/toc.ejs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/layout/widget/toc.ejs b/layout/widget/toc.ejs index ceb2244..37fb2ad 100644 --- a/layout/widget/toc.ejs +++ b/layout/widget/toc.ejs @@ -24,13 +24,15 @@ } return result; } %> -
-
- \ No newline at end of file +<% } %> \ No newline at end of file