The code behind my Jekyll-powered blog.

search.json 341B

12345678910111213
  1. ---
  2. ---
  3. [
  4. {% for post in site.posts %}
  5. {
  6. "title" : "{{ post.title | escape }}",
  7. "category" : "{{ post.category }}",
  8. "tags" : "{{ post.tags | join: ', ' }}",
  9. "url" : "{{ site.url }}{{ post.url }}",
  10. "date" : "{{ post.date }}"
  11. } {% unless forloop.last %},{% endunless %}
  12. {% endfor %}
  13. ]