Skip to content
Snippets Groups Projects
Commit 71edf9a7 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4704: adding in logic for header and footer prints only on teasers

parent f69ca94f
No related branches found
No related tags found
1 merge request!66ISTWCMS-4704: adding date component with ability to handle multiple dates and...
{% if type and (type == 'header' or type == 'footer') %}
{% set show_hover = '' %}
{% else %}
{% set show_hover = 'true' %}
{% endif %}
{% include '@components/card/card.twig' with {
'title': teaser.title,
'date': teaser.date,
......@@ -7,7 +13,7 @@
'tags': teaser.tags,
'content': teaser.content,
'header_level': 2,
'show_hover': true,
'show_hover': show_hover,
'author': teaser.author,
'url': teaser.url,
} %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment