diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/footer.tmpl | 4 | ||||
-rw-r--r-- | templates/base/head.tmpl | 4 | ||||
-rw-r--r-- | templates/pwa/serviceworker_js.tmpl | 2 |
3 files changed, 1 insertions, 9 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> diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl index 32975e0fd5..a074879f3e 100644 --- a/templates/pwa/serviceworker_js.tmpl +++ b/templates/pwa/serviceworker_js.tmpl @@ -10,6 +10,7 @@ var urlsToCache = [ '{{StaticUrlPrefix}}/js/swagger.js?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/js/dropzone.js', '{{StaticUrlPrefix}}/js/datetimepicker.js', + '{{StaticUrlPrefix}}/js/tribute.js', '{{StaticUrlPrefix}}/vendor/plugins/codemirror/addon/mode/loadmode.js', '{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/meta.js', '{{StaticUrlPrefix}}/vendor/plugins/jquery.minicolors/jquery.minicolors.min.js', @@ -24,7 +25,6 @@ var urlsToCache = [ '{{StaticUrlPrefix}}/vendor/assets/font-awesome/css/font-awesome.min.css', '{{StaticUrlPrefix}}/vendor/plugins/jquery.minicolors/jquery.minicolors.css', '{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.css', - '{{StaticUrlPrefix}}/vendor/plugins/tribute/tribute.css', {{if .IsSigned }} {{ if ne .SignedUser.Theme "gitea" }} '{{StaticUrlPrefix}}/css/theme-{{.SignedUser.Theme}}.css?v={{MD5 AppVer}}', |