diff --git a/source/_patterns/04-components/card/card--node/card--node.twig b/source/_patterns/04-components/card/card--node/card--node.twig index d94388e0d2b3bb7c13c81bba56c7b88116db0a20..93bde98396fb553ef807f44694aa9a5747ca18d2 100644 --- a/source/_patterns/04-components/card/card--node/card--node.twig +++ b/source/_patterns/04-components/card/card--node/card--node.twig @@ -14,5 +14,6 @@ 'listing_image': node.listing_image, 'content': node.content, 'footer': node.footer, + 'tags': node.tags, } %} </div> diff --git a/source/_patterns/04-components/card/card--teaser/card--teaser.twig b/source/_patterns/04-components/card/card--teaser/card--teaser.twig index 21e03b0a007b5bb7dcab827fff85f34859dbed25..3a9ec8146ea718ad480c97c77b9a8f9f17062e4a 100644 --- a/source/_patterns/04-components/card/card--teaser/card--teaser.twig +++ b/source/_patterns/04-components/card/card--teaser/card--teaser.twig @@ -11,5 +11,6 @@ 'listing_image': teaser.listing_image, 'content': teaser.content, 'footer': teaser.footer, + 'tags': teaser.tags, 'show_hover': show_hover, } %} diff --git a/source/_patterns/04-components/card/card.twig b/source/_patterns/04-components/card/card.twig index 1978d33b62234df2f2bfd23ef6805aa954e0866f..b1d1ff26316624659d40ca4810265b7044d9ef33 100644 --- a/source/_patterns/04-components/card/card.twig +++ b/source/_patterns/04-components/card/card.twig @@ -64,4 +64,12 @@ {% endif %} </div> {% endif %} + + {{ tags }} + {% if tags %} + {% include '@components/card/card-elements/_tags.twig' with { + 'tags': tags + } %} + {% endif %} + </article>