From cd530b04da523eaa459382f3739c0c8c565bd8d5 Mon Sep 17 00:00:00 2001
From: kpaxman <kpaxman@uwaterloo.ca>
Date: Wed, 2 Jun 2021 17:34:58 -0400
Subject: [PATCH] ISTWCMS-4818: undo modifications to _layout.twig

---
 .../_patterns/03-layouts/layout/_layout.twig  | 68 +++++++++----------
 1 file changed, 34 insertions(+), 34 deletions(-)

diff --git a/source/_patterns/03-layouts/layout/_layout.twig b/source/_patterns/03-layouts/layout/_layout.twig
index 23dec69c..c2819ddc 100644
--- a/source/_patterns/03-layouts/layout/_layout.twig
+++ b/source/_patterns/03-layouts/layout/_layout.twig
@@ -18,54 +18,54 @@
 
   {% for i in 1..num_of_blocks %}
 
-  {% set section_name = section_names[loop.index] %}
+    {% set section_name = section_names[loop.index] %}
 
-  {% if inverted_l_left or inverted_l_right %}
-  {% if loop.index == 1 %}
-  <div class="uw-inverted-l--left-side">
-    {% endif %}
+    {% if inverted_l_left or inverted_l_right %}
+      {% if loop.index == 1 %}
+        <div class="uw-inverted-l--left-side">
+      {% endif %}
 
-    {% if inverted_l_left and loop.index == 2 %}
-    <div class="uw-inverted-l--right-side">
+      {% if inverted_l_left and loop.index == 2 %}
+          <div class="uw-inverted-l--right-side">
       {% endif %}
 
       {% if inverted_l_right and loop.index == 4 %}
-      <div class="uw-inverted-l--right-side">
-        {% endif %}
+        <div class="uw-inverted-l--right-side">
+      {% endif %}
 
-        {% endif %}
+    {% endif %}
 
-        <div
-          {% if pattern_lab %}
-            {% set region_classes = 'layout__region ' ~ 'layout__region--' ~ section_name %}
-            class="{{ region_classes }}"
-          {% else %}
-            {{ region_attributes[section_name].addClass('layout__region', 'layout__region--' ~ section_name) }}
-          {% endif %}
-        >
+    <div
+      {% if pattern_lab %}
+        {% set region_classes = 'layout__region ' ~ 'layout__region--' ~ section_name %}
+        class="{{ region_classes }}"
+      {% else %}
+        {{ region_attributes[section_name].addClass('layout__region', 'layout__region--' ~ section_name) }}
+      {% endif %}
+    >
 
-          {% if pattern_lab %}
-            {{ section_name }} column
-          {% else %}
-            {{ content[section_name] }}
-          {% endif %}
-        </div>
+      {% if pattern_lab %}
+        {{ section_name }} column
+      {% else %}
+        {{ content[section_name] }}
+      {% endif %}
+    </div>
 
-        {% if inverted_l_left or inverted_l_right %}
-        {% if inverted_l_left %}
+    {% if inverted_l_left or inverted_l_right %}
+      {% if inverted_l_left %}
         {% if loop.index == 1 or loop.index == 4 %}
-      </div>
-      {% endif %}
+          </div>
+        {% endif %}
       {% endif %}
 
       {% if inverted_l_right %}
-      {% if loop.index == 3 or loop.index == 4 %}
-    </div>
-    {% endif %}
-    {% endif %}
+        {% if loop.index == 3 or loop.index == 4 %}
+          </div>
+        {% endif %}
+      {% endif %}
 
     {% endif %}
 
-    {% endfor %}
+  {% endfor %}
 
-</section>
+</section>
\ No newline at end of file
-- 
GitLab