From 05373b9099ff80914e1dd8bc7c629f840c17d28c Mon Sep 17 00:00:00 2001 From: ppoffice Date: Mon, 9 Mar 2020 02:43:19 -0400 Subject: [PATCH] chore(scripts): move hexo generator directory --- include/{ => hexo}/generator/category.js | 0 include/{ => hexo}/generator/insight.js | 0 include/register.js | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename include/{ => hexo}/generator/category.js (100%) rename include/{ => hexo}/generator/insight.js (100%) diff --git a/include/generator/category.js b/include/hexo/generator/category.js similarity index 100% rename from include/generator/category.js rename to include/hexo/generator/category.js diff --git a/include/generator/insight.js b/include/hexo/generator/insight.js similarity index 100% rename from include/generator/insight.js rename to include/hexo/generator/insight.js diff --git a/include/register.js b/include/register.js index 816b14f..5b2e78b 100644 --- a/include/register.js +++ b/include/register.js @@ -3,8 +3,8 @@ const logger = require('hexo-log')(); module.exports = hexo => { logger.info('=== Registering Hexo extensions ==='); require('hexo-component-inferno/lib/hexo/filter/locals')(hexo); - require('./generator/category')(hexo); - require('./generator/insight')(hexo); + require('./hexo/generator/category')(hexo); + require('./hexo/generator/insight')(hexo); require('hexo-component-inferno/lib/hexo/generator/categories')(hexo); require('hexo-component-inferno/lib/hexo/generator/tags')(hexo); require('hexo-component-inferno/lib/hexo/helper/cdn')(hexo);