diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6e7735..177610f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ on: branches: [ main ] paths: - 'source/**' + - 'config/**' - 'awesome.yml' workflow_dispatch: @@ -54,7 +55,9 @@ jobs: # Install Hexo env - name: Install Hexo environment - run: pnpm install + run: | + pnpm install + pnpm remove hexo-generator-index # Hexo build demo site - name: Hexo build demo site diff --git a/config/_config.yml b/config/_config.yml index f032bf8..cd2e773 100644 --- a/config/_config.yml +++ b/config/_config.yml @@ -55,15 +55,6 @@ prismjs: line_number: true tab_replace: '' -# Home page setting -# path: Root path for your blogs index page. (default = '') -# per_page: Posts displayed per page. (0 = disable pagination) -# order_by: Posts order. (Order by date descending by default) -index_generator: - path: '/disabled' - per_page: 10 - order_by: -date - # Category & Tag default_category: 无家可归的文章君T-T category_map: