Skip to content

fix: add excerpts from theme/banner and theme/section inner blocks - #215

Open
YvetteNikolov wants to merge 1 commit into
mainfrom
fix/add-theme-banner-intro-to-excerpt
Open

YvetteNikolov wants to merge 1 commit into
mainfrom
fix/add-theme-banner-intro-to-excerpt

Conversation

@YvetteNikolov

Copy link
Copy Markdown
Contributor

Nodig zodat de introductie van je banner in de card excerpt komt

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the change that includes banner and section content in generated excerpts.

No open issues 🎉

What changed in this PR

Updates the Sage theme’s excerpt handling so content inside banner and section blocks can appear in generated excerpts, including card excerpts.

Changes:

  • Adds theme/banner and theme/section to the blocks whose inner content is included in excerpts.
  • Preserves existing support for core/media-text.
File Description
web/​app/​themes/​sage/​app/​Hooks/​Theme.php Extends the excerpt block list to include banners and sections.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants