Add plaintext feed content

This commit is contained in:
mathiascode 2019-12-01 08:42:45 +02:00
parent b6fd4c4836
commit 5567d7ae2e
2 changed files with 2 additions and 1 deletions

View file

@ -15,7 +15,8 @@ layout: minify
<author> <author>
<name>{{ site.title }}</name> <name>{{ site.title }}</name>
</author> </author>
<content type="html">{{ post.content | xml_escape }}</content> <content>{{ post.content | xml_escape | strip_html }}</content>
<content:encoded>{{ post.content | xml_escape }}</content:encoded>
<published>{{ post.date | date_to_xmlschema }}</published> <published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.date | date_to_xmlschema }}</updated> <updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}/news#{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}</id> <id>{{ site.url }}/news#{{ post.date | date: '%Y-%m-%d' }}-{{ post.title }}</id>