summary refs log tree commit diff
path: root/search.json
diff options
context:
space:
mode:
Diffstat (limited to 'search.json')
-rw-r--r--search.json13
1 files changed, 1 insertions, 12 deletions
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 %}]