Skip to content

Commit 06886d8

Browse files
committed
update
1 parent 106961d commit 06886d8

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

_config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ ignore:
9999
## Themes: https://hexo.io/themes/
100100
theme: next
101101

102+
# search
103+
path: search.xml
104+
per_page: 10
105+
order_by: -date
106+
field: posts
107+
limit: 10000
108+
102109
# Deployment
103110
## Docs: https://hexo.io/docs/one-command-deployment
104111
deploy:

themes/next/_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ back2top:
368368
# Back to top in sidebar.
369369
sidebar: false
370370
# Scroll percent label in b2t button.
371-
scrollpercent: false
371+
scrollpercent: true
372372

373373
# Reading progress bar
374374
reading_progress:
@@ -739,7 +739,7 @@ algolia_search:
739739
# Local Search
740740
# Dependencies: https://github.com/theme-next/hexo-generator-searchdb
741741
local_search:
742-
enable: false
742+
enable: true
743743
# If auto, trigger search by changing input.
744744
# If manual, trigger search by pressing enter key or search button.
745745
trigger: auto

0 commit comments

Comments
 (0)