Update favicon

This commit is contained in:
Ondřej 2022-10-27 11:50:15 +02:00
parent faa4c2c38c
commit f8e34b39e2
20 changed files with 20 additions and 71 deletions

View file

@ -21,7 +21,6 @@ params:
poweredby: false # Show powered by hugo in footer
# searchLimit: 20 # Max number of search hits, default 20.
sidebar: false # Show a sidebar to the right
realfavicongenerator: true
plausibleSiteID: "nolog.cz" # Plausible site id/domain.
plausibleTrackerURL: "https://plausible.nolog.cz/js/plausible.js" # Plausible url, schemaless and no slash on end. Optional, defaults to "plausible.io/…"

View file

@ -12,7 +12,6 @@
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
{{ with $.Param "image" }}<meta property="og:image" content="{{ . | absURL }}">{{ end }}
{{ hugo.Generator }}
<meta name="msapplication-TileColor" content="{{ $.Param "themecolor" | default "#ffffff" }}">
<meta name="theme-color" content="{{ $.Param "themecolor" | default "#ffffff" }}">
{{ with site.Params.piwikTrackerUrl }}<link rel="dns-prefetch" href="https://{{ . }}">{{ end }}
{{ with $.Param "microusername" }}<link rel="me" href="https://micro.blog/{{ . }}">{{ end }}
@ -22,9 +21,7 @@
<link rel="alternate" hreflang="{{ .Language.Params.LanguageCode | default .Lang }}" href="{{ .RelPermalink }}">
{{ end -}}
{{ end -}}
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}">
{{ if $.Param "realfavicongenerator" -}}
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}">
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}" />
<link rel="icon" type="image/png" href="{{ "favicon.png" | relURL }}" />
<link rel="icon" type="image/svg+xml" href="{{ "favicon.svg" | relURL }}" />
<link rel="manifest" href="{{ "site.webmanifest" | relURL }}">
{{ end -}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 964 B

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

BIN
static/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

1
static/favicon.svg Normal file
View file

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><rect x="0" y="0" width="512" height="512"/><path d="M380,124l-256,-0l-0,256l85.333,0l0,-174.933l85.334,-0l-0,174.933l85.333,0l-0,-256Z" style="fill:#fff;"/></svg>

After

Width:  |  Height:  |  Size: 605 B

BIN
static/icon-192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
static/icon-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 714 B

View file

@ -1,39 +0,0 @@
<?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="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.14, written by Peter Selinger 2001-2017
</metadata>
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M109 6107 c-1 -1 -2 -505 -3 -1119 l-1 -1118 25 -1 c111 -3 612 0
616 4 3 2 6 342 8 753 2 412 7 768 11 791 7 41 9 42 54 50 46 7 841 7 848 -1
2 -2 6 -361 9 -797 2 -436 6 -794 9 -797 2 -2 147 -4 322 -4 l318 0 1 1120 2
1120 -1109 1 c-610 0 -1110 -1 -1110 -2z"/>
<path d="M2503 4989 l0 -1119 26 -1 c160 -4 2204 0 2208 5 5 4 8 2096 4 2213
l-1 22 -1119 0 -1118 0 0 -1120z m1561 440 c3 -3 7 -213 9 -468 l5 -463 -425
4 c-234 2 -429 5 -434 8 -5 3 -9 190 -10 415 -2 549 -5 503 29 508 39 6 820 3
826 -4z"/>
<path d="M5845 5679 c-10 -24 -51 -145 -91 -269 l-72 -225 -298 -3 -297 -2 89
-62 c49 -34 91 -65 94 -68 3 -3 71 -52 151 -109 l146 -102 -37 -117 c-20 -64
-55 -173 -78 -241 -23 -68 -42 -137 -42 -153 l0 -28 38 19 c20 11 105 69 187
130 83 61 169 120 192 133 42 22 43 22 73 5 32 -19 284 -198 358 -254 43 -33
72 -42 72 -23 0 5 -24 85 -54 177 -75 232 -96 302 -96 323 0 28 129 134 407
333 24 17 41 32 40 33 -2 2 -130 5 -286 8 -259 4 -284 6 -297 23 -7 10 -14 23
-14 30 0 19 -137 429 -153 459 l-14 26 -18 -43z"/>
<path d="M120 3112 c-13 -2 -15 -141 -15 -1110 l0 -1107 953 -2 952 -1 0 36
c3 220 0 585 -4 589 -3 4 -282 7 -618 7 l-613 1 -3 795 -2 795 -318 0 c-175 0
-324 -1 -332 -3z"/>
<path d="M2211 3110 c-4 -3 -7 -502 -6 -1110 l0 -1105 1110 0 1110 0 2 1110 1
1110 -1105 0 c-608 0 -1108 -2 -1112 -5z m1569 -1123 l0 -464 -287 3 c-159 1
-358 3 -443 3 l-155 1 -3 450 -3 449 23 5 c13 3 32 7 43 9 11 2 201 4 423 6
l402 2 0 -464z"/>
<path d="M4588 3100 c-2 -8 -4 -508 -3 -1110 l0 -1095 1112 -2 1111 -2 -1 631
-2 631 -305 -1 c-168 -1 -313 -1 -322 -1 -17 -1 -18 -23 -18 -314 l0 -314
-455 0 -455 0 0 473 0 472 753 0 c413 1 764 1 779 1 l26 1 -1 322 -2 323
-1107 0 c-977 0 -1107 -2 -1110 -15z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -1,18 +1,18 @@
{
"name": "NoLog.cz",
"short_name": "NoLog.cz",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff"
"name": "NoLog.cz",
"short_name": "NoLog.cz",
"icons": [
{
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff"
}