summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2018-01-02 11:32:41 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2018-01-02 11:32:41 +0100
commitc4a8d4ce4507953f72ec87cdc2f879870a86b608 (patch)
treef5c59fe444ef962be0ae3a7baa2ed26b1c98f117 /templates
parenta22037713e9f722c3909f8de7c56077c9aff7ad4 (diff)
downloadgitea-c4a8d4ce4507953f72ec87cdc2f879870a86b608.tar.gz
gitea-c4a8d4ce4507953f72ec87cdc2f879870a86b608.zip
Add more additional template snippets (#3286)
Diffstat (limited to 'templates')
-rw-r--r--templates/base/footer.tmpl6
-rw-r--r--templates/base/head.tmpl4
-rw-r--r--templates/custom/body_inner_post.tmpl0
-rw-r--r--templates/custom/body_inner_pre.tmpl0
-rw-r--r--templates/custom/body_outer_post.tmpl0
-rw-r--r--templates/custom/body_outer_pre.tmpl0
6 files changed, 10 insertions, 0 deletions
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
--- /dev/null
+++ b/templates/custom/body_inner_post.tmpl
diff --git a/templates/custom/body_inner_pre.tmpl b/templates/custom/body_inner_pre.tmpl
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/templates/custom/body_inner_pre.tmpl
diff --git a/templates/custom/body_outer_post.tmpl b/templates/custom/body_outer_post.tmpl
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/templates/custom/body_outer_post.tmpl
diff --git a/templates/custom/body_outer_pre.tmpl b/templates/custom/body_outer_pre.tmpl
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/templates/custom/body_outer_pre.tmpl