diff options
author | silverwind <me@silverwind.io> | 2020-03-09 07:06:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 03:06:59 -0300 |
commit | ec4d0cdd56387a49c9c20f238768ea292c6b1222 (patch) | |
tree | 86c4db68f7500b24250012269895d4d083c0e928 /templates/base | |
parent | d6657644a96417d2e771a2891a54e99e686be0a3 (diff) | |
download | gitea-ec4d0cdd56387a49c9c20f238768ea292c6b1222.tar.gz gitea-ec4d0cdd56387a49c9c20f238768ea292c6b1222.zip |
Remove svg preload (#10654)
It triggers a warning in the Chrome console about it being unused, so I
think preloading of SVG assets may not be supported properly in current
browsers.
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head.tmpl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index c222c96af1..cdffbbc2f1 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -103,7 +103,6 @@ <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/assets/font-awesome/css/font-awesome.min.css"> <link rel="preload" as="font" href="{{StaticUrlPrefix}}/fomantic/themes/default/assets/fonts/icons.woff2" type="font/woff2" crossorigin="anonymous"> <link rel="preload" as="font" href="{{StaticUrlPrefix}}/fomantic/themes/default/assets/fonts/outline-icons.woff2" type="font/woff2" crossorigin="anonymous"> - <link rel="preload" as="image" href="{{StaticUrlPrefix}}/img/svg/icons.svg"> {{if .RequireSimpleMDE}} <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.css"> {{end}} |