Verified Commit 9bfd18ac authored by tyil's avatar tyil

Format Atom feed with HTML markup

parent dd5e9791
Pipeline #146803908 passed with stages
in 2 minutes and 39 seconds
......@@ -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 %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment