summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@users.noreply.github.com>2017-12-02 19:26:06 -0500
committerLauris BH <lauris@nix.lv>2017-12-03 02:26:06 +0200
commitb0971ae37c255ea219c07489bc66809caa1094ef (patch)
tree2f0b8f86becc90182cdfaeea535f4297d8aa0ce2 /templates/base
parent4947cfb7b07570b8c94c2f6ba734c785bd3f2829 (diff)
downloadgitea-b0971ae37c255ea219c07489bc66809caa1094ef.tar.gz
gitea-b0971ae37c255ea219c07489bc66809caa1094ef.zip
Reduce overhead of upgrades for users with custom stylesheets/JS (#3051)
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer.tmpl1
-rw-r--r--templates/base/head.tmpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index e3f6d1319d..ed0dd58b95 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -66,5 +66,6 @@
<!-- JavaScript -->
<script src="{{AppSubUrl}}/vendor/plugins/semantic/semantic.min.js"></script>
<script src="{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}"></script>
+{{template "custom/footer" .}}
</body>
</html>
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 46f387a1a7..a7d31d6557 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -122,6 +122,7 @@
<meta property="og:url" content="{{AppUrl}}" />
<meta property="og:description" content="{{MetaDescription}}">
{{end}}
+{{template "custom/header" .}}
</head>
<body>
<div class="full height">