From 3e5e30c6a9687aa6960eaf60e8b9feee2db0569c Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Fri, 7 Sep 2018 11:00:04 -0600 Subject: [PATCH] Fix main menu to top of page --- .../layout/region--primary-menu.html.twig | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 agaric/templates/layout/region--primary-menu.html.twig diff --git a/agaric/templates/layout/region--primary-menu.html.twig b/agaric/templates/layout/region--primary-menu.html.twig new file mode 100644 index 0000000..9cc776d --- /dev/null +++ b/agaric/templates/layout/region--primary-menu.html.twig @@ -0,0 +1,21 @@ +{# +/** + * @file + * Default theme implementation to display a region. + * + * Available variables: + * - content: The content for this region, typically blocks. + * - attributes: HTML attributes for the region
. + * - region: The name of the region variable as defined in the theme's + * .info.yml file. + * + * @see template_preprocess_region() + * + * @ingroup themeable + */ +#} +{% if content %} +
+ {{ content }} +
+{% endif %}