Skip to content

Commit b329c14

Browse files
committed
Initial files for search update/fix
Will set this up soon. See #192 and #162.
1 parent ddbce72 commit b329c14

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
},
1818
"dependencies": {
1919
"jquery": "3.5.1",
20-
"lunr": "2.3.9"
20+
"lunr": "2.3.9",
21+
"simple-jekyll-search": "1.10.0"
2122
},
2223
"license": "GPL-2.0"
2324
}

search.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: none
3+
---
4+
[
5+
{% for post in site.posts %}
6+
{
7+
"title" : "{{ post.title | escape }}",
8+
"category" : "{{ post.category }}",
9+
"tags" : "{{ post.tags | join: ', ' }}",
10+
"url" : "{{ site.baseurl }}{{ post.url }}",
11+
"date" : "{{ post.date }}"
12+
} {% unless forloop.last %},{% endunless %}
13+
{% endfor %}
14+
]

0 commit comments

Comments
 (0)