From f449ddf010f12811060171c73e742965c66ae433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Sun, 7 Jul 2024 09:58:14 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=96=87=E7=AB=A0=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E5=B1=82=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- toc.php | 40 +++++++++++++--------------------------- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git a/toc.php b/toc.php index 9f975a6..70164b1 100644 --- a/toc.php +++ b/toc.php @@ -12,52 +12,38 @@ function generate_toc($content) {

文章目录

-
-
'; + return $has_toc? $toc : ''; } ?> \ No newline at end of file