diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-05-17 09:18:59 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-05-17 09:18:59 +0200 |
commit | 9bfd18ac2c68f88d2922ea5ab9d41281537704b3 (patch) | |
tree | 895c23d0105acb4d4816b86293c923049792e6bc | |
parent | dd5e979191a53624c9e88b16686aa5b386b16382 (diff) |
Format Atom feed with HTML markup
-rw-r--r-- | atom.xml | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -25,7 +25,9 @@ layout: null <updated>{{ post.date | date_to_xmlschema }}</updated> <link rel="alternate" type="text/html" href="{{ post.url | prepend: site.baseurl | prepend: site.url }}" />{% if post.description %} <summary>{{ post.description | strip | xml_escape }}</summary>{% endif %} - <content>{{ post.content | strip_html }}</content>{% for tag in post.tags %} + <content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}"> + {{ post.content | strip | xml_escape }} + </content>{% for tag in post.tags %} <category term="{{ tag | xml_escape }}" />{% endfor %}{% for cat in post.categories %} <category term="{{ cat | xml_escape }}" />{% endfor %} </entry>{% endfor %} |