Skip to content
Snippets Groups Projects

Feature/istwcms 4619 m26lebla theme blog news events listing pages

1 file
+ 12
0
Compare changes
  • Side-by-side
  • Inline
{% set teaser_modifier_classes -%}
card--teaser {{ modifier_classes }}
{%- endset %}
{% include "@components/card/card.twig" with {
modifier_classes: teaser_modifier_classes,
title: title,
url: url,
date_format: date_format,
date: date,
tags: tags,
tag_type: tag_type,
sources: sources,
img_element: img_element,
alt: alt,
show_hover: show_hover,
content: content,
header_level: '2',
author_name: author_name,
author_link: author_link
{% include '@components/card/card.twig' with {
'title': teaser.title,
'date': teaser.date,
'sources': teaser.image.sources,
'img_element': teaser.image.img_element,
'alt': teaser.image.alt,
'tags': teaser.tags,
'content': teaser.content,
'header_level': 2,
'show_hover': true,
'author': teaser.author,
'url': teaser.url,
} %}
\ No newline at end of file
Loading