hexo/themes/Klise/scripts/404.js

10 lines
198 B
JavaScript

hexo.extend.generator.register('404', function (locals) {
if (!hexo.theme.config.page_404.enable) return
return {
path: '404.html',
data: {},
layout: ['404']
};
});