pelican-mg/templates/tipue_search.html

15 lines
393 B
HTML
Raw Normal View History

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