Use page.summary if available (#2141)
This commit is contained in:
parent
3186d4b474
commit
0ba2707316
@ -37,7 +37,11 @@
|
|||||||
</author>
|
</author>
|
||||||
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
|
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
|
||||||
<id>{{ page.permalink | safe }}</id>
|
<id>{{ page.permalink | safe }}</id>
|
||||||
|
{% if page.summary %}
|
||||||
|
<summary type="html">{{ page.summary }}</summary>
|
||||||
|
{% else %}
|
||||||
<content type="html">{{ page.content }}</content>
|
<content type="html">{{ page.content }}</content>
|
||||||
|
{% endif %}
|
||||||
</entry>
|
</entry>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</feed>
|
</feed>
|
||||||
|
Loading…
Reference in New Issue
Block a user