feature: 增加 tags 標簽外掛 - label

improvement: 優化 pjax 下 404 頁面
This commit is contained in:
Jerry
2021-04-25 22:08:07 +08:00
Unverified
parent 597f0d2019
commit aa7173fc69
12 changed files with 90 additions and 75 deletions

View File

@@ -9,7 +9,10 @@ hexo.extend.generator.register('404', function (locals) {
if (!hexo.theme.config.error_404.enable) return
return {
path: '404.html',
data: locals.posts,
layout: ['404']
layout: ['page'],
data: {
type: '404',
top_img: false
}
}
})