Version 1
[yaffs-website] / web / modules / contrib / bootstrap_layouts / templates / 3.0.0 / bs-2col.html.twig
diff --git a/web/modules/contrib/bootstrap_layouts/templates/3.0.0/bs-2col.html.twig b/web/modules/contrib/bootstrap_layouts/templates/3.0.0/bs-2col.html.twig
new file mode 100644 (file)
index 0000000..b2c2dc3
--- /dev/null
@@ -0,0 +1,35 @@
+{#
+/**
+ * @file
+ * Bootstrap Layouts: "2 Columns" template.
+ *
+ * Available layout variables:
+ * - wrapper: Wrapper element for the layout container.
+ * - attributes: Wrapper attributes for the layout container.
+ *
+ * Available region variables:
+ * - left
+ * - right
+ *
+ * Each region variable contains the following properties:
+ * - wrapper: The HTML element to use to wrap this region.
+ * - attributes: The HTML attributes to use on the wrapper for this region.
+ * - content: The content to go inside the wrapper for this region.
+ */
+#}
+<{{ wrapper }}{{ attributes }}>
+  {{ title_suffix.contextual_links }}
+
+  {% if left.content %}
+  <{{ left.wrapper }}{{ left.attributes }}>
+    {{ left.content }}
+  </{{ left.wrapper }}>
+  {% endif %}
+
+  {% if right.content %}
+  <{{ right.wrapper }}{{ right.attributes }}>
+    {{ right.content }}
+  </{{ right.wrapper }}>
+  {% endif %}
+
+</{{ wrapper }}>