diff options
author | silverwind <me@silverwind.io> | 2020-02-23 15:34:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-23 08:34:53 -0600 |
commit | 71d5a090df0649b1782f25319063c831efda332a (patch) | |
tree | cf164e9d4e0e291cf3c6d232c01bdfcef2e30717 /templates/base/head.tmpl | |
parent | 9ed4aeeaf10661156d61a6cac904d2b060663764 (diff) | |
download | gitea-71d5a090df0649b1782f25319063c831efda332a.tar.gz gitea-71d5a090df0649b1782f25319063c831efda332a.zip |
Prevent Firefox from using apple-touch-icon (#10402)
* Prevent Firefox from using apple-touch-icon
The opaque background does not work well in Firefox which uses the icon
as a "rich icon". Prevent this by not specifying it in HTML. Real Apple
devices will still request the icon on the static path.
Fixes: https://github.com/go-gitea/gitea/issues/10394
Also adjust gitignore so app.ini.sample becomes searchable and fixed a
variable name in app.ini.sample.
* fix gitignore
Diffstat (limited to 'templates/base/head.tmpl')
-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 f1558f9484..9985b7cb59 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -96,7 +96,6 @@ }; </script> <link rel="shortcut icon" href="{{StaticUrlPrefix}}/img/favicon.png"> - <link rel="apple-touch-icon" href="{{StaticUrlPrefix}}/img/apple-touch-icon.png"> <link rel="mask-icon" href="{{StaticUrlPrefix}}/img/gitea-safari.svg" color="#609926"> <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"> |