From 07a3d1835078730be5c6223a555c7c83c9306958 Mon Sep 17 00:00:00 2001 From: mayx Date: Mon, 30 Sep 2024 13:51:26 +0000 Subject: Update 3 files - /js/main.js - /_layouts/post.html - /search.json--- search.json | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'search.json') diff --git a/search.json b/search.json index 73c32f4..8ad4e54 100644 --- a/search.json +++ b/search.json @@ -1,14 +1,3 @@ --- --- -[ - {% 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 %} -] +[{% 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