Skip to content

Add template file with formatting#1278

Draft
hpleas wants to merge 1 commit into
5.xfrom
hpleas/issue-1266_1213_teaser-adjustments
Draft

Add template file with formatting#1278
hpleas wants to merge 1 commit into
5.xfrom
hpleas/issue-1266_1213_teaser-adjustments

Conversation

@hpleas
Copy link
Copy Markdown
Contributor

@hpleas hpleas commented May 13, 2026

📝 Description

Create a generic teaser template based on Highlighted news style
#1266
see also: #1213

illinois_framework_theme/templates/themes/node--news--teaser.html.twig from version 4.x is used as a starting point for the new template. Added , 'highlighted-news', 'fixed-width' classes

Fixes # (issue number)


✅ Peer Review Checklist

Reviewers: Please verify the following before approving.

  • The pull request links to the issue it is addressing in the comment and in the "Development" section of the PR
  • There is a short summary that describes how the fix is implemented
  • Verifying work: Verify that the changes made are addressing the linked issue
  • Accessibility: Changes that might impact accessibility are reviewed to work with keyboard navigation and screen readers
  • Responsive: Layout is tested on desktop, tablet, and mobile screens
  • Config changes: Any configuration updates are tested and verified using the Distribution Update import
  • Security: Output is sanitized (using t(), Twig auto-escaping, etc.). No secrects included (API keys, etc.)
  • Cleanliness: All debug code (ksm(), dpm(), console.log) has been removed.
  • Comments: Complex logic is explained inline.
  • Documentation: Any relevant documentation has been updated (this can be a separate issue if needed)

📸 Screenshots / Video (Optional)

If this is a UI change, please attach a screenshot or a quick screen recording of the change in action.

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.

Create a generic teaser template based on Highlighted news style News teaser needs styling and formatting

1 participant