🐛 fix(atom): remove safe filter; allow content & summary (#165)

main
Dave Patrick Caberto 1 year ago committed by GitHub
parent a113ba2271
commit a617d6fe72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,8 +62,9 @@
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
<id>{{ page.permalink | safe }}</id>
{% if config.extra.full_content_in_feed %}
<content type="html">{{ page.content | safe }}</content>
{% elif page.summary -%}
<content type="html">{{ page.content }}</content>
{% endif -%}
{% if page.summary -%}
<summary type="html">{{ page.summary | striptags | safe | trim_end_matches(pat=".") }}…</summary>
{% elif page.description -%}
<summary type="html">{{ page.description | striptags | safe }}</summary>

Loading…
Cancel
Save