tag
prop.link_attributes
prop, an <a>
element is wrapped around the headline text. The prop allows you to pass common link attributes such as href
and target
.subheadline
prop. The prop accepts anything, even plain text.eyebrow_items
prop. The prop accepts an array, each eyebrow item will be separated with a solid seperator.{% include '@bolt-components-listing-teaser/listing-teaser.twig' with {
eyebrow_items: [
eyebrow_1,
eyebrow_2,
],
headline: {
text: 'This listing has an xlarge headline',
tag: 'h3',
size: 'xlarge',
link_attributes: {
href: 'https://google.com'
},
},
subheadline: 'This is a subheadline',
meta_items: [
'Posted 8 hours 15 minutes ago',
'Last activity: 2 minutes ago',
],
} only %}