2015-01-08 23:10:05 +00:00
|
|
|
{
|
|
|
|
"pages": [
|
2017-08-14 23:39:41 +00:00
|
|
|
{% set comma = joiner(',') %}
|
2015-01-08 23:10:05 +00:00
|
|
|
{% for item in articles + pages %}
|
2017-08-14 23:39:41 +00:00
|
|
|
{{comma()}}
|
2015-01-08 23:10:05 +00:00
|
|
|
{
|
2017-08-15 13:16:30 +00:00
|
|
|
"title": {{item.title|striptags|tojson}},
|
|
|
|
"text": {{item.content|striptags|tojson}},
|
|
|
|
"tags": "{{' '.join(item.tags|map(attribute="name"))}}",
|
2015-01-08 23:10:05 +00:00
|
|
|
"loc": "{{ SITEURL }}/{{item.url}}"
|
2017-08-14 23:39:41 +00:00
|
|
|
}
|
2015-01-08 23:10:05 +00:00
|
|
|
{% endfor %}
|
|
|
|
]
|
|
|
|
}
|