fixed picture issue in RSS/Atom feeds

This commit is contained in:
Parker TenBroeck 2026-05-02 11:26:45 -04:00
parent b106d42f4d
commit 8722232549

View file

@ -14,9 +14,8 @@
{%- macro content(page) -%} {%- macro content(page) -%}
{%if page.taxonomies.category is containing("photo") %} {%if page.taxonomies.category is containing("photo") %}
{{ figures::image(src=page.extra.picture_src, caption=page.description) }} {{ figures::image(src=page.extra.picture_src, caption=page.description) | escape_xml | safe }}
{% else %} {% else %}
{% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %} {% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %}
{% endif %} {% endif %}