upd plg
This commit is contained in:
parent
09d3c937cb
commit
3747bc3bca
4
api.json
4
api.json
@ -31,6 +31,7 @@ layout: null
|
|||||||
"pages": [
|
"pages": [
|
||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
{
|
{
|
||||||
|
"id": {{page.title | downcase | jsonify}},
|
||||||
"title": {{ page.title | jsonify }},
|
"title": {{ page.title | jsonify }},
|
||||||
"content_text": {{ page.content | strip_html | strip_newlines | jsonify }},
|
"content_text": {{ page.content | strip_html | strip_newlines | jsonify }},
|
||||||
"content_html": {{ page.content | strip_newlines | jsonify }},
|
"content_html": {{ page.content | strip_newlines | jsonify }},
|
||||||
@ -39,6 +40,5 @@ layout: null
|
|||||||
"date_modified": "{{ page.date | date_to_xmlschema }}"
|
"date_modified": "{{ page.date | date_to_xmlschema }}"
|
||||||
}{% if forloop.last == false %},{% endif %}
|
}{% if forloop.last == false %},{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user