Last active
November 16, 2017 18:18
-
-
Save manbearwolf/657768d75cf3c0d0576757c17cd94721 to your computer and use it in GitHub Desktop.
Simple Jekyll Search JSON Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: null | |
--- | |
[ | |
{% for post in site.posts %} | |
{ | |
"title" : "{{ post.title | escape }}", | |
"url" : "{{ site.baseurl }}{{ post.url }}", | |
"tags" : "{{ post.tags | join: ', ' }}", | |
"date" : "{{ post.date }}" | |
} {% unless forloop.last %},{% endunless %} | |
{% endfor %} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to draw in jekyll (needs raw or won't render correctly)