fix: json feed output
This commit is contained in:
parent
0675d3400c
commit
8f44ce9bdd
2 changed files with 3 additions and 7 deletions
|
@ -16,7 +16,8 @@
|
|||
{
|
||||
"id": "{{ entry.feed.url | encodeAmp }}",
|
||||
"url": "{{ entry.feed.url | encodeAmp }}",
|
||||
"title": "{{ entry.feed.title }}",
|
||||
"title": "{{ entry.feed.title | escape }}",
|
||||
"content_text": "{{ entry.feed.description | markdown | strip_html | escape| normalize_whitespace | rstrip | truncatewords: 50, '...' }}",
|
||||
"date_published": "{{ entry.feed.date | stringToRFC3339 }}"
|
||||
}{%- if forloop.last == false -%},{%- endif -%}
|
||||
{%- endfor -%}
|
||||
|
|
Reference in a new issue