🐛 fix(atom): remove safe filter; allow content & summary (#165)
This commit is contained in:
parent
a113ba2271
commit
a617d6fe72
@ -62,8 +62,9 @@
|
|||||||
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
|
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
|
||||||
<id>{{ page.permalink | safe }}</id>
|
<id>{{ page.permalink | safe }}</id>
|
||||||
{% if config.extra.full_content_in_feed %}
|
{% if config.extra.full_content_in_feed %}
|
||||||
<content type="html">{{ page.content | safe }}</content>
|
<content type="html">{{ page.content }}</content>
|
||||||
{% elif page.summary -%}
|
{% endif -%}
|
||||||
|
{% if page.summary -%}
|
||||||
<summary type="html">{{ page.summary | striptags | safe | trim_end_matches(pat=".") }}…</summary>
|
<summary type="html">{{ page.summary | striptags | safe | trim_end_matches(pat=".") }}…</summary>
|
||||||
{% elif page.description -%}
|
{% elif page.description -%}
|
||||||
<summary type="html">{{ page.description | striptags | safe }}</summary>
|
<summary type="html">{{ page.description | striptags | safe }}</summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user