Use page.summary if available (#2141)

This commit is contained in:
Icy Defiance 2023-03-15 05:12:59 -04:00 committed by Vincent Prouillet
parent 3186d4b474
commit 0ba2707316

View file

@ -37,7 +37,11 @@
</author>
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
<id>{{ page.permalink | safe }}</id>
{% if page.summary %}
<summary type="html">{{ page.summary }}</summary>
{% else %}
<content type="html">{{ page.content }}</content>
{% endif %}
</entry>
{%- endfor %}
</feed>