luci-theme-openwrt-2020: Fix Safari favicon: use PNG alongside with SVG
Chrome, Edge and Firefox will use the SVG icon but Safari will use the PNG. Chrome will try to pick an icon with a best suited dimension. So it will also download the PNG to check it's dimension. The explicitly specified sizes are preventing this. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
This commit is contained in:
parent
a9b06db126
commit
b5a3354e82
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="{{ media }}/cascade.css" />
|
||||
<link rel="icon" href="{{ media }}/logo.svg" />
|
||||
<link rel="icon" href="{{ media }}/logo.png" sizes="180x180">
|
||||
<link rel="icon" href="{{ media }}/logo.svg" sizes="any">
|
||||
<link rel="apple-touch-icon" href="{{ media }}/logo.png" />
|
||||
<script type="text/javascript" src="{{ dispatcher.build_url('admin/translations', dispatcher.lang) }}"></script>
|
||||
<script type="text/javascript" src="{{ resource }}/cbi.js"></script>
|
||||
|
|
Loading…
Reference in a new issue