Skip to content

Commit

Permalink
chore: remove index generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Candinya committed Jun 23, 2024
1 parent 19b6f4a commit 59f7fbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ main ]
paths:
- 'source/**'
- 'config/**'
- 'awesome.yml'
workflow_dispatch:

Expand Down Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions config/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 59f7fbf

Please sign in to comment.