Add fluid-icon (#10491)
This provides Firefox (and possible other browsers) with a high-resolution rich icon, in place of the previously removed apple-touch-icon without having to use that one as it lacks an alpha channel. This is the same method GH uses. https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/UI_considerations#Rich_icons Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: techknowlogick <matti@mdranta.net>
This commit is contained in:
parent
4a2d23981d
commit
9a476113f0
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@
|
|||
</script>
|
||||
<link rel="shortcut icon" href="{{StaticUrlPrefix}}/img/favicon.png">
|
||||
<link rel="mask-icon" href="{{StaticUrlPrefix}}/img/gitea-safari.svg" color="#609926">
|
||||
<link rel="fluid-icon" href="{{StaticUrlPrefix}}/img/gitea-lg.png" title="{{AppName}}">
|
||||
<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">
|
||||
|
|
Loading…
Reference in a new issue