Improve canvas layers, heading removal and component previews in 1.5.3

This commit is contained in:
2026-11-28 16:15:19 +08:00
parent 93b58b87b0
commit cb317bbeb0
31 changed files with 322 additions and 90 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ final class SiteController
}
return $this->renderArchive($request, $repo, $category ?? array_keys($categories), null, [
'headline' => $section['title'] . ($category !== null ? ' · ' . $categories[$category] : ''),
'headline' => ($section['title'] ?: '文章与动态') . ($category !== null ? ' · ' . $categories[$category] : ''),
'description' => '查看' . implode('、', $categories) . '分类下的文章。',
'archivePath' => $category === null ? $allPath : $categoryLinks[$category], 'allPath' => $allPath,
'categoryLinks' => $categoryLinks, 'categories' => $categories, 'category' => $category, 'tag' => null,