mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-07 05:18:40 -04:00
fixed picture issue in RSS/Atom feeds
This commit is contained in:
parent
b106d42f4d
commit
8722232549
1 changed files with 1 additions and 2 deletions
|
|
@ -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 %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue