From 1acc1fa4a17d891bff1c09a9ec749bb38f70647e Mon Sep 17 00:00:00 2001
From: Martin Leblanc <m26lebla@uwaterloo.ca>
Date: Wed, 14 Sep 2022 13:25:34 -0400
Subject: [PATCH] ISTWCMS-5509: adding pager template for pagination

---
 templates/navigation/pager.html.twig | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 templates/navigation/pager.html.twig

diff --git a/templates/navigation/pager.html.twig b/templates/navigation/pager.html.twig
new file mode 100644
index 00000000..1bc73380
--- /dev/null
+++ b/templates/navigation/pager.html.twig
@@ -0,0 +1,21 @@
+{#
+/**
+ * @file
+ * Theme override for a pager.
+ *
+ * Available variables:
+ * - modifier_class: Variant classes to modify component.
+ * - heading: Accessible heading.
+ * - items: List of pager items.
+ *
+ */
+#}
+
+{% if items %}
+  {% include '@components/pager/pager.twig' with {
+    'modifier': '',
+    'heading': 'Pagination'|t,
+    'items': items,
+    'current': current
+  } only %}
+{% endif %}
-- 
GitLab