pelican-mg/templates/tipue_search.html

15 lines
393 B
HTML
Raw Normal View History

2015-01-08 23:10:05 +00:00
{
"pages": [
{% set comma = joiner(',') %}
2015-01-08 23:10:05 +00:00
{% for item in articles + pages %}
{{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}}"
}
2015-01-08 23:10:05 +00:00
{% endfor %}
]
}