* chore: bump theme version to 5.5.5 and update third-party plugins

* fix: recognize 404 in page type helper
* style: adjust pagination items margin
* feat: use ResizeObserver to update header positions for dynamic article heights
This commit is contained in:
myw
2026-06-11 00:28:28 +08:00 Unverified
parent 13315f6710
commit f4a6f79142
5 changed files with 26 additions and 19 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ hexo.extend.helper.register('getPageType', (page, isHome) => {
if (category) return 'category'
if (archive) return 'archive'
if (type) {
if (type === 'tags' || type === 'categories') return type
if (type === 'tags' || type === 'categories' || type === '404') return type
else return 'page'
}
if (isHome) return 'home'