Skip to content

✨ feat: enable auto-generate post summary#582

Open
leekaize wants to merge 5 commits intowelpo:mainfrom
leekaize:feat/491-blog-teaser
Open

✨ feat: enable auto-generate post summary#582
leekaize wants to merge 5 commits intowelpo:mainfrom
leekaize:feat/491-blog-teaser

Conversation

@leekaize
Copy link

Summary

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

Default to:

auto_generate_post_summary = true
auto_generated_summary_length = 200

Related issue

Addresses #579
Closes #491

Changes

  • Added 2 config parameters
  • Uses xhtml to show multi-paragraph summary

Type of change

  • New feature (adds non-breaking functionality)
  • Breaking change (alters existing functionality)

Checklist

  • I have verified the accessibility of my changes
  • I have tested all possible scenarios for this change
  • I have updated theme.toml with a sane default for the feature
  • I have updated config.toml in tabi-start
  • I have made corresponding changes to the documentation:
    • Updated config.toml comments
    • Updated theme.toml comments
    • Updated "Mastering tabi" post in English
    • (Optional) Updated "Mastering tabi" post in Spanish
    • (Optional) Updated "Mastering tabi" post in Catalan

@leekaize leekaize requested a review from welpo as a code owner November 13, 2025 07:22
@netlify
Copy link

netlify bot commented Nov 13, 2025

Deploy Preview for tabi-demo ready!

Name Link
🔨 Latest commit 827e852
🔍 Latest deploy log https://app.netlify.com/projects/tabi-demo/deploys/69158746a6484f0008a4491e
😎 Deploy Preview https://deploy-preview-582--tabi-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@welpo
Copy link
Owner

welpo commented Nov 27, 2025

Hello!

Sorry for the silence, and thanks for the PR.

I will give this a proper look in ~2 weeks. Feel free to ping me!

@welpo welpo added the enhancement New feature or request label Nov 27, 2025
@netlify
Copy link

netlify bot commented Jan 31, 2026

Deploy Preview for tabi-demo ready!

Name Link
🔨 Latest commit 8c24c2b
🔍 Latest deploy log https://app.netlify.com/projects/tabi-demo/deploys/697e64df7e19620008c26c3c
😎 Deploy Preview https://deploy-preview-582--tabi-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@welpo
Copy link
Owner

welpo commented Jan 31, 2026

Hey @leekaize, thanks for the patience.

I've made a couple of minor commits. The more important point: I think we should make this:

  • not default (not breaking)
  • only used as fallback, when description and no <!-- more --> summary. Otherwise, I think it adds more noise than value

Thoughts?

I'd be happy to do the refactor myself.

leekaize and others added 5 commits January 31, 2026 21:23
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
Default to:
auto_generate_post_summary = true
auto_generated_summary_length = 200

Addresses welpo#579
Closes welpo#491
@welpo welpo force-pushed the feat/491-blog-teaser branch from 58a2bd5 to 8c24c2b Compare January 31, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show a teaser on the blog listing page.

2 participants