mirror of https://github.com/thangisme/notes.git
16 lines
426 B
JSON
16 lines
426 B
JSON
---
|
|
---
|
|
{
|
|
{% for page in site.pages %}
|
|
{% unless page.url contains "css" %}
|
|
"{{ forloop.index - 1 }}": {
|
|
"id": "{{ forloop.index - 1 }}",
|
|
"title": "{{ page.title | xml_escape }}",
|
|
"content": "{{ page.content | strip_html | strip_newlines | escape | remove: "\"}}",
|
|
"url": " {{ page.url | xml_escape }}"
|
|
}
|
|
{% unless forloop.last %},{% endunless %}
|
|
{% endunless %}
|
|
{% endfor %}
|
|
}
|