Put uncompressed favicons at root folder

hexo-all-minifer also compress favicons
root folder recommendation https://realfavicongenerator.net/faq
This commit is contained in:
curben 2018-09-24 11:21:48 +09:30
parent c7fca85408
commit 7efe6efef1
29 changed files with 53 additions and 12 deletions

View File

@ -26,16 +26,16 @@
<link rel="alternate" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml"> <link rel="alternate" href="<%- theme.rss %>" title="<%= config.title %>" type="application/atom+xml">
<% } %> <% } %>
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicons/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/favicons/site.webmanifest"> <link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/favicons/safari-pinned-tab.svg" color="#132873"> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#132873">
<link rel="shortcut icon" href="/favicons/favicon.ico"> <link rel="shortcut icon" href="/favicon.ico">
<meta name="apple-mobile-web-app-title" content="<%- theme.nickname %>"> <meta name="apple-mobile-web-app-title" content="<%- theme.nickname %>">
<meta name="application-name" content="<%- theme.nickname %>"> <meta name="application-name" content="<%- theme.nickname %>">
<meta name="msapplication-TileColor" content="#603cba"> <meta name="msapplication-TileColor" content="#603cba">
<meta name="msapplication-config" content="/favicons/browserconfig.xml"> <meta name="msapplication-config" content="/browserconfig.xml">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
<%- css('css/typing') %> <%- css('css/typing') %>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -2,7 +2,7 @@
<browserconfig> <browserconfig>
<msapplication> <msapplication>
<tile> <tile>
<square150x150logo src="/favicons/mstile-150x150.png"/> <square150x150logo src="/mstile-150x150.png"/>
<TileColor>#603cba</TileColor> <TileColor>#603cba</TileColor>
</tile> </tile>
</msapplication> </msapplication>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 975 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -1 +0,0 @@
<svg version="1" xmlns="http://www.w3.org/2000/svg" width="426.667" height="426.667" viewBox="0 0 320.000000 320.000000"><path d="M20.5 20l20 20 10-10 10-10 9.8 9.7 9.7 9.8V0H.5l20 20zM100.3 19.8C111.1 30.6 120 39.9 120 40.3c0 .4-8.5 9.3-19 19.7-10.4 10.4-19 19.2-19 19.5 0 .3 35.7.5 79.3.5h79.2l19.8-19.8L280 40.5l-10-10-10-10 10.2-10.2L280.5 0H241l-20 20c-11 11-20.3 20-20.7 20-.5 0-9.8-9-20.8-20l-20-20h-79l19.8 19.8zM299.6 21.2l-18.8 19.1 9.6 9.6c5.3 5.3 9.6 10 9.6 10.4 0 .4-4 4.8-9 9.7-4.9 4.9-9 9.2-9 9.5 0 .3 8.6.5 19 .5h19V41c0-21.5-.3-39-.7-38.9-.5 0-9.3 8.6-19.7 19.1zM0 60v19.5l20 20c11 11 20 20.3 20 20.8 0 .4-9 9.7-20 20.7L0 161v159.5l20-20 20-20-10-10-10-10 10.2-10.3L40.5 240H.5l20-20 20-20 19.7 19.7L80 239.5v-159L60.1 60.6 40.3 40.8l-9.7 9.6c-5.2 5.3-9.9 9.6-10.3 9.6-.4 0-5.2-4.4-10.5-9.7L0 40.5V60zM240 160.3V240H81l-20.1 20.1-20.1 20.2 9.6 9.6c5.3 5.3 9.6 10 9.6 10.4 0 .4-4 4.8-9 9.7-4.9 4.9-9 9.2-9 9.5 0 .3 8.7.5 19.3.5h19.2l20-20 20-20 20 20 20 20h79l-19.8-19.8-19.7-19.7 20.3-20.3 20.2-20.2 20 20 20 20 10-10 10-10 9.8 9.7 9.7 9.8v-39l-20-20-20-20 20-20 20-20v-39.3c0-21.5-.2-39.2-.5-39.2s-9.1 8.5-19.5 19c-10.4 10.4-19.3 19-19.7 19-.4 0-9.7-8.9-20.5-19.7L240 80.5v79.8zM100 120.5V141l20.3-.2 20.2-.3.3-20.3.2-20.2h-41v20.5z"/><path d="M180 120.5V141l20.3-.2 20.2-.3.3-20.3.2-20.2h-41v20.5zM100 200.5V221l20.3-.2 20.2-.3.3-20.3.2-20.2h-41v20.5zM180 200.5V221l20.3-.2 20.2-.3.3-20.3.2-20.2h-41v20.5zM240 300.3V320h79.5L300 300.5c-10.7-10.7-19.6-19.5-19.7-19.5-.2 0-4.5 4.3-9.8 9.5-5.2 5.2-9.8 9.5-10.2 9.5-.4 0-5.2-4.4-10.5-9.7l-9.8-9.8v19.8z"/></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -0,0 +1,42 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="800.000000pt" height="800.000000pt" viewBox="0 0 800.000000 800.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,800.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M20 7994 c0 -3 223 -228 495 -500 l494 -494 250 250 250 250 240
-240 c132 -132 242 -240 245 -240 3 0 6 221 6 490 l0 490 -990 0 c-545 0 -990
-3 -990 -6z"/>
<path d="M2020 7994 c0 -3 224 -229 499 -504 l498 -498 -496 -496 -496 -496
1992 0 1992 0 496 496 495 495 -250 250 -250 250 250 250 c137 137 250 252
250 254 0 3 -225 5 -500 5 -393 0 -500 -3 -500 -12 0 -7 -223 -236 -496 -509
l-496 -496 -508 508 -509 509 -985 0 c-542 0 -986 -3 -986 -6z"/>
<path d="M7506 7481 l-489 -489 250 -250 250 -250 -246 -246 -246 -246 488 0
487 0 0 985 c0 542 -1 985 -3 985 -1 0 -222 -220 -491 -489z"/>
<path d="M0 6494 l0 -485 509 -509 508 -508 -496 -496 c-273 -273 -502 -496
-509 -496 -9 0 -12 -410 -12 -2000 0 -1100 2 -2000 5 -2000 2 0 227 223 500
496 l495 495 -250 250 -250 250 250 250 c137 137 250 252 250 254 0 3 -220 5
-490 5 -270 0 -490 3 -490 6 0 3 223 228 495 500 l494 494 490 -490 c269 -269
492 -490 495 -490 3 0 6 893 6 1985 l0 1986 -496 496 -496 496 -250 -250 -250
-250 -248 248 c-137 137 -251 249 -254 249 -3 0 -6 -219 -6 -486z"/>
<path d="M6000 3990 l0 -1990 -2000 0 c-1590 0 -2000 -3 -2000 -12 0 -7 -221
-234 -492 -505 l-491 -491 250 -250 250 -250 -246 -246 -246 -246 492 0 492 0
500 500 500 500 500 -500 500 -500 985 0 c542 0 986 3 986 6 0 3 -221 226
-490 495 l-490 490 504 505 505 504 500 -500 500 -500 250 250 250 250 240
-240 c132 -132 242 -240 245 -240 3 0 6 219 6 486 l0 485 -500 500 -500 500
500 500 500 500 0 992 0 992 -496 -496 -496 -496 -498 498 c-275 275 -501 499
-504 499 -3 0 -6 -895 -6 -1990z"/>
<path d="M2500 4990 l0 -510 508 2 507 3 3 508 2 507 -510 0 -510 0 0 -510z"/>
<path d="M4500 4990 l0 -510 508 2 507 3 3 508 2 507 -510 0 -510 0 0 -510z"/>
<path d="M2500 2990 l0 -510 508 2 507 3 3 508 2 507 -510 0 -510 0 0 -510z"/>
<path d="M4500 2990 l0 -510 508 2 507 3 3 508 2 507 -510 0 -510 0 0 -510z"/>
<path d="M6000 490 l0 -490 990 0 c545 0 990 2 990 6 0 3 -219 224 -486 491
l-486 486 -250 -250 -250 -250 -248 248 c-137 137 -251 249 -254 249 -3 0 -6
-220 -6 -490z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -3,13 +3,13 @@
"short_name": "curben's blog", "short_name": "curben's blog",
"icons": [ "icons": [
{ {
"src": "/favicons/android-chrome-192x192.png", "src": "/android-chrome-192x192.png",
"sizes": "192x192", "sizes": "192x192",
"type": "image/png" "type": "image/png"
}, },
{ {
"src": "/favicons/android-chrome-256x256.png", "src": "/android-chrome-512x512.png",
"sizes": "256x256", "sizes": "512x512",
"type": "image/png" "type": "image/png"
} }
], ],