feat: added auto-generated summary to post listing and atom feeds

Post listing and Atom feeds will show post summary in separate paragraph alongside with post description.

New defaults (breaking changes):
- auto_generated_summary_length = 300
- auto_generated_post_listing_summary = true
- auto_generated_atom_feed_summary = true
This commit is contained in:
Lee Kai Ze 2025-11-04 23:53:57 +08:00 committed by welpo
parent d73e64032b
commit e9b0a3f3f0
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
4 changed files with 28 additions and 10 deletions

View file

@ -171,6 +171,13 @@ show_date = true
# "both" - Show both the original date and the last updated date.
post_listing_date = "date"
# Auto generate summary for post listing and Atom feeds.
# It will be generated in separated paragraph alongside with post description.
# Auto generated when no summary is set using the <!-- more --> tag.
auto_generated_summary_length = 300
auto_generated_post_listing_summary = true
auto_generated_atom_feed_summary = true
# Enable iine like buttons on all posts: https://iine.to/
# Can be set at page or section levels, following the hierarchy: page > section > config. See: https://welpo.github.io/tabi/blog/mastering-tabi-settings/#settings-hierarchy
iine = true