Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

Commit

Permalink
Merge pull request #6 from spitimage/json
Browse files Browse the repository at this point in the history
Enhancement: Generate site json file for client-side filtering, searching, etc
  • Loading branch information
matt swanson committed Nov 25, 2013
2 parents 8375c16 + 5f9512c commit 9552980
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_site/
.DS_Store
.*.swp
.idea
11 changes: 11 additions & 0 deletions site.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
---
[
{% for item in site.posts %}
{"date": {{ item.date | jsonify }},
"categories": {{ item.categories | jsonify }},
"tags": {{ item.tags | jsonify}},
"title": {{ item.title | jsonify}},
"url": {{ item.url | jsonify}}},
{% endfor %}
false]

0 comments on commit 9552980

Please sign in to comment.