Fixing Tipue search

This commit is contained in:
Lucas Cimon
2017-08-15 15:16:30 +02:00
parent a3b1d218ad
commit ea690c27e9
3 changed files with 6 additions and 6 deletions

View File

@@ -4,9 +4,9 @@
{% for item in articles + pages %}
{{comma()}}
{
"title": "{{item.title|striptags|e}}",
"text":"{{item.content|striptags|e}}",
"tags": "{{item.tags}}",
"title": {{item.title|striptags|tojson}},
"text": {{item.content|striptags|tojson}},
"tags": "{{' '.join(item.tags|map(attribute="name"))}}",
"loc": "{{ SITEURL }}/{{item.url}}"
}
{% endfor %}