Skip to content

Commit

Permalink
add search in site support
Browse files Browse the repository at this point in the history
  • Loading branch information
JackonYang committed Jun 5, 2021
1 parent 1a24f66 commit d344056
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,7 @@ feed:
icon: icon.png
autodiscovery: true
template:

search:
path: search.xml
field: post
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"hexo-generator-category": "^1.0.0",
"hexo-generator-feed": "^3.0.0",
"hexo-generator-index": "^2.0.0",
"hexo-generator-search": "^2.4.2",
"hexo-generator-tag": "^1.0.0",
"hexo-reading-time": "^1.0.3",
"hexo-renderer-ejs": "^1.0.0",
Expand Down
7 changes: 7 additions & 0 deletions source/search/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Search in Site
date: 2016-08-16 15:00:44
type: "search"
comments: false
indexing: false
---

0 comments on commit d344056

Please sign in to comment.