From b0ca41d77b75ce6bff0f79917a0337e25ddcf50e Mon Sep 17 00:00:00 2001
From: Eric Bremner <ebremner@uwaterloo.ca>
Date: Mon, 27 Jun 2022 16:20:33 -0400
Subject: [PATCH] ISTWCMS-5647: adding the template so that page title works
 correctly

---
 .../blocks/block--page-title-block.html.twig  | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 templates/blocks/block--page-title-block.html.twig

diff --git a/templates/blocks/block--page-title-block.html.twig b/templates/blocks/block--page-title-block.html.twig
new file mode 100644
index 00000000..a8dd4539
--- /dev/null
+++ b/templates/blocks/block--page-title-block.html.twig
@@ -0,0 +1,23 @@
+{% if media == 'no' %}
+  {%
+    set classes = [
+    'block',
+    'block-' ~ configuration.provider|clean_class,
+    'block-' ~ plugin_id|clean_class,
+  ]
+  %}
+
+  <div{{ attributes.addClass(classes) }}>
+    {% if admin_label %}
+      <div class="uw-admin-label">{{ admin_label }}</div>
+    {% endif %}
+    {{ title_prefix }}
+    {% if label %}
+      <h2{{ title_attributes }}>{{ label }}</h2>
+    {% endif %}
+    {{ title_suffix }}
+    {% block content %}
+      {{ content }}
+    {% endblock %}
+  </div>
+{% endif %}
-- 
GitLab