From fb43a177b095614ceeb51f1b9821c1e8c27befbf Mon Sep 17 00:00:00 2001
From: ebremner <ebremner@uwaterloo.ca>
Date: Tue, 8 Jun 2021 11:54:09 -0400
Subject: [PATCH] ISTWCMS-4619: adding teaser component

---
 source/_patterns/04-components/teaser/teaser.twig | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 source/_patterns/04-components/teaser/teaser.twig

diff --git a/source/_patterns/04-components/teaser/teaser.twig b/source/_patterns/04-components/teaser/teaser.twig
new file mode 100644
index 00000000..51803886
--- /dev/null
+++ b/source/_patterns/04-components/teaser/teaser.twig
@@ -0,0 +1,12 @@
+{% 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,
+} %}
\ No newline at end of file
-- 
GitLab