From 700b7d333fab8656d585a97a59586adc29fb5fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E6=B3=A5?= Date: Thu, 22 Jan 2026 20:07:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=86=E7=A0=81=E4=BF=9D=E6=8A=A4=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E6=A0=87=E9=A2=98=E6=AD=A3=E5=B8=B8=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 密码保护文章标题正常显示 --- archives.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archives.php b/archives.php index df81fbb..6f88959 100755 --- a/archives.php +++ b/archives.php @@ -44,7 +44,7 @@ $articlesByYear[$year] = []; } $articlesByYear[$year][] = [ - 'title' => $archives->title, + 'title' => $archives->hidden ? '密码保护:' . $archives->row['title'] : $archives->row['title'], 'permalink' => $archives->permalink, 'date' => date('m月d日', $archives->created) ]; @@ -97,4 +97,4 @@
— END —
-need('footer.php'); ?> \ No newline at end of file +need('footer.php'); ?>