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

ISTWCMS-5195: updating cards to use new node data

parent 0380972b
No related branches found
No related tags found
1 merge request!118Feature/istwcms 5195 ebremner node theming
......@@ -9,6 +9,7 @@
{% include '@components/card/card.twig' with {
'type': type,
'hero_image': node.hero_image,
'listing_image': node.listing_image,
'header': node.header,
'tags': node.tags,
'content': node.content,
......
......@@ -8,23 +8,10 @@
'title': teaser.title,
'sub_title': teaser.sub_title,
'date': teaser.date,
'sources': teaser.image.sources,
'img_element': teaser.image.img_element,
'image': teaser.image.uri,
'alt': teaser.image.alt,
'tags': teaser.tags,
'header': teaser.header,
'listing_image': teaser.listing_image,
'content': teaser.content,
'header_level': 2,
'tags': teaser.tags,
'show_hover': show_hover,
'author': teaser.author,
'url': teaser.url,
'email': teaser.email,
'phone': teaser.phone,
'location': teaser.location,
'link_profile': teaser.link_profile,
'personal_webpage': teaser.personal_webpage,
'additional_info': teaser.additional_info,
'contact_for': teaser.contact_for,
'groups': teaser.groups,
'card_type': 'teaser',
} %}
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