This post illustrates how to use Simple-Jekyll-Search to build the search page in a personal website. This approach is motivated by Kev Quirk's post.
I amend the procedures to make it more simple.
Create a file
search.jsonin the root directory with the code in the file.
search-script.jsfile in the
Create a new file
/_pages/search.mdfor search page display with a personalised style and paste the following code:
- Author:PENG Jiaxin
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!