forked from deepStateMirrors/tabi
🐛 fix(feed): prioritise description > summary (#525)
This commit is contained in:
parent
5f28b0e87e
commit
68c35b02f8
1 changed files with 3 additions and 3 deletions
|
@ -98,10 +98,10 @@
|
|||
{% if config.extra.full_content_in_feed %}
|
||||
<content type="html">{{ page.content }}</content>
|
||||
{% endif -%}
|
||||
{% if page.summary -%}
|
||||
<summary type="html">{{ page.summary | striptags | trim_end_matches(pat=".") | safe }}…</summary>
|
||||
{% elif page.description -%}
|
||||
{% if page.description -%}
|
||||
<summary type="html">{{ page.description }}</summary>
|
||||
{% elif page.summary -%}
|
||||
<summary type="html">{{ page.summary | striptags | trim_end_matches(pat=".") | safe }}…</summary>
|
||||
{% endif -%}
|
||||
</entry>
|
||||
{%- endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue