mirror of
https://github.com/welpo/tabi.git
synced 2026-02-16 08:07:19 +01:00
fix(summary): update default parameters
Default to: auto_generate_post_summary = true auto_generated_summary_length = 200 Addresses https://github.com/welpo/tabi/pull/579 Closes https://github.com/welpo/tabi/issues/491
This commit is contained in:
parent
e9b0a3f3f0
commit
85ec51cf97
3 changed files with 7 additions and 7 deletions
|
|
@ -168,7 +168,7 @@
|
|||
{% endif %}
|
||||
{% if post.summary %}
|
||||
<p>{{ post.summary | striptags | trim_end_matches(pat=".") | safe }}...</p>
|
||||
{% elif config.extra.auto_generated_post_listing_summary %}
|
||||
{% elif config.extra.auto_generate_post_summary %}
|
||||
<p>{{ post.content | striptags | truncate(length=config.extra.auto_generated_summary_length) | safe }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue