mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
🐛 fix: prioritise description > summary in feed
This commit is contained in:
parent
5b6807b5ff
commit
e806556f94
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