aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-05-21 04:00:43 +0200
committerGitHub <noreply@github.com>2020-05-20 22:00:43 -0400
commitb02d2c37728491caaf8af3384b8d3b25411e4679 (patch)
tree09dead09d24417c288a16a24a52e772345b2554d /templates/base
parent3eb323901c6ec791294db492783e202558c2824f (diff)
downloadgitea-b02d2c37728491caaf8af3384b8d3b25411e4679.tar.gz
gitea-b02d2c37728491caaf8af3384b8d3b25411e4679.zip
Move tributejs to npm/webpack (#11497)
* Move tributejs to npm/webpack - Move vendored bundle to npm and webpack - Rewrote initialization to single function - Restyled it (made it a bit smaller) - Fixed it for arc-green * fix mention * also include emoji on #content * Update web_src/less/_tribute.less Co-authored-by: mrsdizzie <info@mrsdizzie.com> * rewrite to only use one instance of Tribute * refactor * fix copy/paste error Co-authored-by: mrsdizzie <info@mrsdizzie.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer.tmpl4
-rw-r--r--templates/base/head.tmpl4
2 files changed, 0 insertions, 8 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 07cbba7069..6570a6eaed 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -34,10 +34,6 @@
<script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>
{{end}}
{{end}}
-{{if .RequireTribute}}
- <script src="{{StaticUrlPrefix}}/vendor/plugins/tribute/tribute.min.js"></script>
-{{end}}
-
<script src="{{StaticUrlPrefix}}/fomantic/semantic.min.js?v={{MD5 AppVer}}"></script>
<script src="{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script>
{{template "custom/footer" .}}
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index eae2389238..8e58c07d23 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -119,10 +119,6 @@
{{if .RequireSimpleMDE}}
<link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.css">
{{end}}
-
-{{if .RequireTribute}}
- <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/tribute/tribute.css">
-{{end}}
<link rel="stylesheet" href="{{StaticUrlPrefix}}/fomantic/semantic.min.css?v={{MD5 AppVer}}">
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/index.css?v={{MD5 AppVer}}">
<noscript>