hexo/themes/blank/scripts/404.js

10 lines
207 B
JavaScript
Raw Normal View History

2024-05-09 10:56:56 +08:00
hexo.extend.generator.register('404', function (locals) {
if (!hexo.theme.config.page_404.enable) return
return {
path: '404.html',
data: {},
layout: ['404','layout']
};
});