Teaser Text Options
When creating text content in a teaser, the full features of headline, subheadline, and eyebrow can be used.
Important Notes:When setting the eyebrow, headline, and subheadline please be sure to set the proper HTML tag to ensure SEO and accessibility best practices.The traditional eyebrow/headline/subheadline lockup is best used in responsive layout.
{%include'@bolt-components-teaser/teaser.twig' with {
eyebrow_text:'This is the eyebrow',
headline:{
text:'This is the headline',
tag:'h2',
size:'xxlarge',
link_attributes:{
href:'https://www.google.com',
target:'_blank',
rel:'noopener'}},
subheadline:{
text:'This is the subheadline',
tag:'h3',
size:'xlarge',},
description:{
content:'This is the description.',},...} only %}