mirror of
https://github.com/getzola/zola
synced 2024-12-05 01:49:12 +00:00
Use page.summary if available (#2141)
This commit is contained in:
parent
3186d4b474
commit
0ba2707316
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue