fix(favicon): remove legacy attributes

- https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
This commit is contained in:
MDLeom 2020-12-23 22:32:52 +00:00
parent c7e7b1ce13
commit 7bb2a520f0
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
16 changed files with 14 additions and 32 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 989 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#3f72af</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 963 B

View File

@ -1 +0,0 @@
<svg version="1" xmlns="http://www.w3.org/2000/svg" width="933.333" height="933.333" viewBox="0 0 700.000000 700.000000"><path d="M482.3 117.3c-1.8 4-4.7 10.3-6.4 14.2-1.7 3.8-4.8 10.8-6.9 15.5-2.1 4.7-4.9 11-6.3 14-1.3 3-5 11.3-8.2 18.5-3.1 7.1-7.2 16.3-9.1 20.3-1.9 4.1-3.4 7.5-3.4 7.7 0 .2-1.3 3.3-3 6.8-1.6 3.6-3 6.7-3 7 0 .3-1.8 4.3-3.9 8.9-2.1 4.5-7.6 16.6-12.1 26.8-7.4 16.7-12.8 28.8-18 40.6-1.1 2.3-5.1 11.5-9.1 20.5-3.9 9-8.7 19.7-10.5 23.7-1.9 4.1-3.4 7.5-3.4 7.7 0 .2-1.6 3.7-3.5 7.8s-3.5 7.7-3.5 8c0 .3-1.7 4.3-3.9 8.9-2.1 4.5-5.5 12.1-7.6 16.8-2.1 4.7-5 11.2-6.5 14.5-1.5 3.3-3.7 8.2-4.9 11-1.3 2.7-3 6.7-4 8.8l-1.7 3.8-3.1-6.8c-6.4-13.8-10.2-22.3-18.7-41.3-4.8-10.7-9.6-21.3-10.6-23.5-1-2.2-8.1-18.2-15.8-35.5-7.7-17.3-19.7-44.3-26.7-60-7-15.7-15.4-34.4-18.6-41.7-3.2-7.3-6.8-15.4-8-18-4.7-10.4-5.9-13.1-9.9-22.3-5-11.3-7.2-16.2-11.5-25.5-1.7-3.9-4-9-5.1-11.5-1-2.4-3.3-7.4-5-11-3.1-6.3-3.2-6.4-4.2-3.9-.6 1.4-2.9 6.5-5.1 11.3-2.3 4.9-4.1 9-4.1 9.2 0 .2-1.4 3.4-3.1 7.1-1.7 3.8-15 33.6-29.6 66.3-26.5 59.7-28.1 63.3-32.3 72.5-1.2 2.7-10.6 23.7-20.7 46.5-10.2 22.8-19.5 43.7-20.8 46.5-1.2 2.7-11.8 26.6-23.4 53-11.7 26.4-22.2 50-23.3 52.5-1.1 2.5-9.9 22.3-19.5 44S6.2 577.8 5.5 579.5c-.7 1.6-2.2 5.1-3.4 7.7l-2 4.8 12.2.1c13.1.1 232.5.1 249.2 0l10-.1 1.4-3.2c.8-1.8 2.4-5.6 3.7-8.3 1.2-2.8 8.4-19 15.9-36 16.9-38.3 42-94.3 47.1-105l3.7-8 4 8.5c2.1 4.7 7.5 16.6 11.9 26.5 4.4 9.9 8.9 20 10 22.5 1.1 2.5 9 20.2 17.5 39.5 8.5 19.2 16.7 37.8 18.4 41.3 1.6 3.5 2.9 6.5 2.9 6.7 0 1.6 7.2 15.3 8.2 15.7 2.7.9 280.3.2 281.9-.8 1.5-.8 1.4-1.4-.7-5.9-2.1-4.6-8-18-22.9-52-3.1-7.2-6.7-15.3-8-18-1.2-2.8-5.7-12.9-10-22.5-4.2-9.6-8.6-19.5-9.7-21.9-1.1-2.5-5.6-12.6-10-22.5-4.3-10-8.8-20.1-10-22.6-1.1-2.5-3.6-8.1-5.5-12.5-2-4.4-4.5-10.3-5.8-13-1.2-2.8-4.8-10.9-8-18-3.1-7.2-6.6-15-7.7-17.5-1.2-2.5-3.5-7.9-5.3-12-1.8-4.1-4.4-10-5.8-13-1.3-3-4.9-11.1-8-18-7-16.1-9.5-21.6-11.8-26.5-1-2.2-19.6-44.3-41.4-93.5-21.8-49.2-40.2-90-40.8-90.7-.9-.8-2 .6-4.4 6z"/></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -2,16 +2,16 @@
"name": "", "name": "",
"short_name": "", "short_name": "",
"icons": [ "icons": [
{ {
"src": "/android-chrome-192x192.png", "src": "/android-chrome-192x192.png",
"sizes": "192x192", "sizes": "192x192",
"type": "image/png" "type": "image/png"
}, },
{ {
"src": "/android-chrome-512x512.png", "src": "/android-chrome-512x512.png",
"sizes": "512x512", "sizes": "512x512",
"type": "image/png" "type": "image/png"
} }
], ],
"theme_color": "#3f72af", "theme_color": "#3f72af",
"background_color": "#3f72af", "background_color": "#3f72af",

View File

@ -32,19 +32,11 @@
<%- feed_tag(theme.rss) %> <%- feed_tag(theme.rss) %>
<% } %> <% } %>
<%/* Favicon */%> <%/* Favicon */%>
<link rel="apple-touch-icon" sizes="180x180" href="<%- url_for('/apple-touch-icon.png') %>"> <%/* https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs */%>
<link rel="icon" type="image/png" sizes="32x32" href="<%- url_for('/favicon-32x32.png') %>"> <link rel="icon" href="<%- url_for('/favicon.ico') %>">
<link rel="icon" type="image/png" sizes="16x16" href="<%- url_for('/favicon-16x16.png') %>"> <link rel="icon" href="<%- url_for('/svg/favicon.svg') %>" type="image/svg+xml" sizes="any">
<link rel="icon" type="image/png" sizes="16x16" href="<%- url_for('/favicon-16x16.png') %>"> <link rel="apple-touch-icon" href="<%- url_for('/apple-touch-icon-180x180.png') %>">
<link rel="icon" type="image/svg+xml" href="<%- url_for('/svg/favicon.svg') %>">
<link rel="manifest" href="<%- url_for('/site.webmanifest') %>"> <link rel="manifest" href="<%- url_for('/site.webmanifest') %>">
<link rel="mask-icon" href="<%- url_for('/safari-pinned-tab.svg') %>" color="#3f72af">
<link rel="shortcut icon" href="<%- url_for('/favicon.ico') %>">
<meta name="apple-mobile-web-app-title" content="<%= config.title %>">
<meta name="application-name" content="<%= config.title %>">
<meta name="msapplication-TileColor" content="#3f72af">
<meta name="msapplication-config" content="<%- url_for('/browserconfig.xml') %>">
<meta name="theme-color" content="#3f72af">
<link rel="sitemap" type="application/xml" title="Sitemap" href="<%- url_for('/sitemap.xml') %>"> <link rel="sitemap" type="application/xml" title="Sitemap" href="<%- url_for('/sitemap.xml') %>">