From f4aa957c53cda659d026ffd23856f65a72fee739 Mon Sep 17 00:00:00 2001 From: mayx Date: Tue, 4 Jan 2022 20:42:55 +0800 Subject: Restore deleted repositories --- search.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 search.json (limited to 'search.json') diff --git a/search.json b/search.json new file mode 100644 index 0000000..73c32f4 --- /dev/null +++ b/search.json @@ -0,0 +1,14 @@ +--- +--- +[ + {% for post in site.posts %}{% unless post.layout == "encrypt" %} + { + "title" : "{{ post.title | escape }}", + "category" : "{{ post.category }}", + "tags" : "{{ post.tags | join: ', ' }}", + "url" : "{{ site.baseurl }}{{ post.url }}", + "date" : "{{ post.date | date: "%Y/%m/%d" }}", + "content": {{ post.content | strip_html | strip_newlines | jsonify }} + }{% unless forloop.last %},{% endunless %}{% endunless %} + {% endfor %} +] -- cgit 1.4.1-2-gfad0