mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
update
This commit is contained in:
1 parent
1f3ea55890
commit
f605e6dc89
210 files changed
+16126
-16118
No files matched your search
+20
-20
@@ -1,20 +1,20 @@
|
||||
/**
|
||||
* Butterfly
|
||||
* 404 error page
|
||||
*/
|
||||
|
||||
'use strict'
|
||||
|
||||
hexo.extend.generator.register('404', function (locals) {
|
||||
if (!hexo.theme.config.error_404.enable) return
|
||||
return {
|
||||
path: '404.html',
|
||||
layout: ['page'],
|
||||
data: {
|
||||
type: '404',
|
||||
top_img: false,
|
||||
comments: false,
|
||||
aside: false
|
||||
}
|
||||
}
|
||||
})
|
||||
/**
|
||||
* Butterfly
|
||||
* 404 error page
|
||||
*/
|
||||
|
||||
'use strict'
|
||||
|
||||
hexo.extend.generator.register('404', function (locals) {
|
||||
if (!hexo.theme.config.error_404.enable) return
|
||||
return {
|
||||
path: '404.html',
|
||||
layout: ['page'],
|
||||
data: {
|
||||
type: '404',
|
||||
top_img: false,
|
||||
comments: false,
|
||||
aside: false
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user