fix: json feed output

This commit is contained in:
Cory Dransfeldt 2024-10-12 07:32:24 -07:00
parent 0675d3400c
commit 8f44ce9bdd
No known key found for this signature in database
2 changed files with 3 additions and 7 deletions

View file

@ -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 -%}