diff options
Diffstat (limited to '')
-rw-r--r-- | site.json | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/site.json b/site.json new file mode 100644 index 0000000..411a02b --- /dev/null +++ b/site.json @@ -0,0 +1,39 @@ +--- +--- +{ + "posts": [ + {% for post in site.posts %} + { + "title": "{{ post.title | smartify }}", + "date": "{{ post.date }}", + "url": "{{ post.url }}", + "lang": "{{ post.lang }}", + "ref": "{{ post.ref }}", + "content": {{ post.content | strip_html | jsonify }} + }{% unless forloop.last %},{% endunless %} + {% endfor %} + ], + "pages": [ + {% for page in site.pages %} + { + "title": "{{ page.title | smartify }}", + "url": "{{ page.url }}", + "lang": "{{ page.lang }}", + "ref": "{{ page.ref }}", + "content": {{ page.content | strip_html | jsonify }} + }{% unless forloop.last %},{% endunless %} + {% endfor %} + ], + "pastebins": [ + {% for pastebin in site.pastebins %} + { + "title": "{{ pastebin.title | smartify }}", + "date": "{{ post.date }}", + "url": "{{ pastebin.url }}", + "lang": "{{ pastebin.lang }}", + "ref": "placeholder-ref", + "content": {{ pastebin.content | strip_html | jsonify }} + }{% unless forloop.last %},{% endunless %} + {% endfor %} + ] +} |