diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 0437131835..73914e6a7e 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -3,7 +3,13 @@
 <body>
 	<div>
 */}}
+
+	{{template "custom/body_inner_post" .}}
+
 	</div>
+
+	{{template "custom/body_outer_post" .}}
+
 	<footer>
 		<div class="ui container">
 			<div class="ui left">
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 1fc5f9c596..04c5a43e4c 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -130,9 +130,13 @@
 {{template "custom/header" .}}
 </head>
 <body>
+	{{template "custom/body_outer_pre" .}}
+
 	<div class="full height">
 		<noscript>{{.i18n.Tr "enable_javascript"}}</noscript>
 
+		{{template "custom/body_inner_pre" .}}
+
 		{{if not .PageIsInstall}}
 			<div class="ui top secondary stackable main menu following bar light">
 				<div class="ui container" id="navbar">
diff --git a/templates/custom/body_inner_post.tmpl b/templates/custom/body_inner_post.tmpl
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/templates/custom/body_inner_pre.tmpl b/templates/custom/body_inner_pre.tmpl
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/templates/custom/body_outer_post.tmpl b/templates/custom/body_outer_post.tmpl
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/templates/custom/body_outer_pre.tmpl b/templates/custom/body_outer_pre.tmpl
new file mode 100644
index 0000000000..e69de29bb2