From b30cb1ff842a9431014f0af54f1185eeaacab1cb Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 13 Apr 2024 20:23:16 +0100 Subject: [PATCH] Revert "Reduce spacing in one column layout" This reverts commit aec07978e699a2216d6422df3df2d2dba395b6ff. --- .../onecol/layout--onecol.html.twig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 web/themes/custom/opdavies/layouts/layout_discovery/onecol/layout--onecol.html.twig diff --git a/web/themes/custom/opdavies/layouts/layout_discovery/onecol/layout--onecol.html.twig b/web/themes/custom/opdavies/layouts/layout_discovery/onecol/layout--onecol.html.twig new file mode 100644 index 0000000..27d49cf --- /dev/null +++ b/web/themes/custom/opdavies/layouts/layout_discovery/onecol/layout--onecol.html.twig @@ -0,0 +1,18 @@ +{# +/** + * @file + * Theme override to display a one-column layout. + * + * Available variables: + * - in_preview: Whether the plugin is being rendered in preview mode. + * - content: The content for this layout. + * - attributes: HTML attributes for the layout
. + */ +#} +{% if content %} + +
+ {{ content.content }} +
+
+{% endif %}