Version 1
[yaffs-website] / web / modules / contrib / bootstrap_layouts / templates / 3.0.0 / bs-1col-stacked.html.twig
diff --git a/web/modules/contrib/bootstrap_layouts/templates/3.0.0/bs-1col-stacked.html.twig b/web/modules/contrib/bootstrap_layouts/templates/3.0.0/bs-1col-stacked.html.twig
new file mode 100644 (file)
index 0000000..f4346c1
--- /dev/null
@@ -0,0 +1,42 @@
+{#
+/**
+ * @file
+ * Bootstrap Layouts: "1 Column (stacked)" template.
+ *
+ * Available layout variables:
+ * - wrapper: Wrapper element for the layout container.
+ * - attributes: Wrapper attributes for the layout container.
+ *
+ * Available region variables:
+ * - top
+ * - main
+ * - bottom
+ *
+ * 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 top.content %}
+  <{{ top.wrapper }}{{ top.attributes }}>
+    {{ top.content }}
+  </{{ top.wrapper }}>
+  {% endif %}
+
+  {% if main.content %}
+  <{{ main.wrapper }}{{ main.attributes }}>
+    {{ main.content }}
+  </{{ main.wrapper }}>
+  {% endif %}
+
+  {% if bottom.content %}
+  <{{ bottom.wrapper }}{{ bottom.attributes }}>
+    {{ bottom.content }}
+  </{{ bottom.wrapper }}>
+  {% endif %}
+
+</{{ wrapper }}>