Skip to content

Commit

Permalink
Create search.json
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd committed Jan 4, 2019
1 parent b582deb commit 9d9c7f0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions search.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: nil
---
[
{% for post in site.posts %}
{
"title" : "{{ post.title | escape }}",
"category" : "{{ post.category }}",
"tags" : "{{ post.tags | join: ', ' }}",
"url" : "{{ site.baseurl }}{{ post.url }}",
"date" : "{{ post.date }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}
]

0 comments on commit 9d9c7f0

Please sign in to comment.