diff --git a/templates/macros/feed.html b/templates/macros/feed.html index 12be2b1..e90734d 100644 --- a/templates/macros/feed.html +++ b/templates/macros/feed.html @@ -14,9 +14,8 @@ {%- macro content(page) -%} - {%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 %} {% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %} {% endif %}