aboutsummaryrefslogblamecommitdiff
path: root/site.json
blob: 032fe2fcc81344f06154745fb3610869865075f7 (plain) (tree)
1
2
3
4
5
6
7
8






                                               
                                  


                                  
                         










                                                            
                         


                                                            




                                                   
                                      

                                      
                              
                             


                                                                












                                                           

   
---
---
{
  "posts": [
    {% for post in site.posts %}
      {
        "title": "{{ post.title | smartify }}",
        "date": "{{ post.date }}",
        "url": "{{ post.url }}",
        "lang": "{{ post.lang }}",
        "ref": "{{ post.ref }}",
        "layout": "post",
        "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 }}",
        "layout": "page",
        "content": {{ page.content | strip_html | jsonify }}
      }{% unless forloop.last %},{% endunless %}
    {% endfor %}
  ],
  "pastebins": [
    {% for pastebin in site.pastebins %}
      {
        "title": "{{ pastebin.title | smartify }}",
        "date": "{{ pastebin.date }}",
        "url": "{{ pastebin.url }}",
        "lang": "{{ pastebin.lang }}",
        "ref": "pastebin-ref",
        "layout": "pastebin",
        "content": {{ pastebin.content | strip_html | jsonify }}
      }{% unless forloop.last %},{% endunless %}
    {% endfor %}
  ],
  "tils": [
    {% for til in site.tils %}
      {
        "title": "{{ til.title | smartify }}",
        "date": "{{ til.date }}",
        "url": "{{ til.url }}",
        "lang": "{{ til.lang }}",
        "ref": "{{ til.ref }}",
        "layout": "til",
        "content": {{ til.content | strip_html | jsonify }}
      }{% unless forloop.last %},{% endunless %}
    {% endfor %}
  ]
}