From a1a0a4ad553f59906930d44bf56b089421d2c7a5 Mon Sep 17 00:00:00 2001 From: ronv Date: Thu, 30 Jan 2020 20:19:33 +0200 Subject: initial commit --- search.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 search.json (limited to 'search.json') diff --git a/search.json b/search.json new file mode 100644 index 0000000..402d8f6 --- /dev/null +++ b/search.json @@ -0,0 +1,17 @@ +--- +layout: null +--- +[ + {% for post in site.posts %} + { + + "title" : "{{ post.title | strip_html | escape }}", + "url" : "{{ site.baseurl }}{{ post.url }}", + "category" : "{{post.categories | join: ', '}}", + "tags" : "{{ post.tags | join: ', ' }}", + "date" : "{{ post.date }}", + "discription" : "{{post.description | strip_html | strip_newlines | escape }}" + + } {% unless forloop.last %},{% endunless %} + {% endfor %} +] \ No newline at end of file -- cgit v1.2.3