修复了分类页面的显示问题

This commit is contained in:
2025-05-01 17:03:08 +08:00
parent a1624e5468
commit 8612812011

View File

@@ -45,9 +45,9 @@
// 显示剩余未分类标签
$all_mapped_tags = array_merge(...array_values($tag_map));
$remaining_tags = array_diff(explode(' ', $view_category), $all_mapped_tags);
$remaining_tags = array_diff(explode(' ', $category), $all_mapped_tags);
?>
<h3>其他标签</h3>
<h3>其他</h3>
<div class="tag-cloud">
<?php foreach ($remaining_tags as $tag):
if (trim($tag) == "" || trim($tag) == "&nbsp") continue;