From 15562e7fd939a9e230ec60f52bdbfb5baa3254c4 Mon Sep 17 00:00:00 2001
From: Hanne Moa <hanne.moa@uninett.no>
Date: Wed, 26 Oct 2016 10:58:19 +0200
Subject: [PATCH] Add a wrapper around the content

Replaces the need for `$this->data['htmlinject']`
---
 templates/base.twig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/templates/base.twig b/templates/base.twig
index 6a569739f..1edd9ca4b 100644
--- a/templates/base.twig
+++ b/templates/base.twig
@@ -19,7 +19,9 @@
         {% block header %}{% include "_header.twig" %}{% endblock %}
 
         <div id="content">
-            {% block content %}{% endblock %}
+        {% block contentwrapper %}
+        {% block content %}{% endblock %}
+        {% endblock %}
         </div><!-- #content -->
 
         <div id="footer">
-- 
GitLab