From d268bd10bb70e7b6e87ba6f33b058d1b23656ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Sat, 2 Aug 2025 14:01:18 +0800 Subject: [PATCH] 1.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix 标签 --- page-tags.php | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/page-tags.php b/page-tags.php index 7484bbc..9b14429 100644 --- a/page-tags.php +++ b/page-tags.php @@ -16,20 +16,21 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
+ options->showsidebar): ?>
+ +
+
next()) { $firstChar = getFirstChar($tags->name); if (!in_array($firstChar, $existingLetters)) { @@ -41,7 +42,6 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> 'count' => $tags->count ); } - // 对每个字母下的标签按名称排序 foreach ($tagsArray as &$letterTags) { usort($letterTags, function($a, $b) { @@ -49,7 +49,6 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> }); } ?> -
    @@ -63,13 +62,11 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
-
    $tags): ?>
  • #

    @@ -81,9 +78,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
- - +options->showsidebar): ?> need('sidebar.php'); ?> -need('footer.php'); ?> + +need('footer.php'); ?> \ No newline at end of file