diff options
Diffstat (limited to 'search.json')
-rw-r--r-- | search.json | 17 |
1 files changed, 17 insertions, 0 deletions
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 |