From eaaa4ea5d724092c8d07bfb868abeb01467bb7a1 Mon Sep 17 00:00:00 2001 From: Benny Guo Date: Wed, 9 Aug 2023 23:44:29 +0800 Subject: [PATCH] fix: fix links page index.html not being generated --- lib/generators/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/generators/index.js b/lib/generators/index.js index aaf558e..2175c2c 100644 --- a/lib/generators/index.js +++ b/lib/generators/index.js @@ -23,10 +23,10 @@ const SearchGenerator = require('./search'); module.exports = function (hexo) { let apiData = []; - const defaultPages = ['Tags', 'Archives', 'Friends']; + const defaultPages = ['Tags', 'Archives', 'Links']; // Remove hexo default generators - ['page', 'archive', 'category', 'tag'].forEach( + ['page', 'archive', 'category', 'tag', 'links'].forEach( (name) => delete hexo.extend.generator.store[name] );