aboutsummaryrefslogtreecommitdiff
path: root/site.json
blob: 30a7260c1a0c844a7b1351b6cfb387042edfab17 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
---
{
  "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 %}
  ]
}