diff --git a/assets/apple-touch-icon.png b/assets/apple-touch-icon.png deleted file mode 100644 index 256e201..0000000 Binary files a/assets/apple-touch-icon.png and /dev/null differ diff --git a/assets/apple-touch-icon.png b/assets/apple-touch-icon.png new file mode 120000 index 0000000..866536d --- /dev/null +++ b/assets/apple-touch-icon.png @@ -0,0 +1 @@ +../static/apple-touch-icon.png \ No newline at end of file diff --git a/assets/favicon.png b/assets/favicon.png deleted file mode 100644 index 5f20abb..0000000 Binary files a/assets/favicon.png and /dev/null differ diff --git a/assets/favicon.png b/assets/favicon.png new file mode 120000 index 0000000..6b404a2 --- /dev/null +++ b/assets/favicon.png @@ -0,0 +1 @@ +../static/favicon.png \ No newline at end of file diff --git a/assets/mask.svg b/assets/mask.svg deleted file mode 100644 index d1fc9b9..0000000 --- a/assets/mask.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/mask.svg b/assets/mask.svg new file mode 120000 index 0000000..7e83a11 --- /dev/null +++ b/assets/mask.svg @@ -0,0 +1 @@ +../static/mask.svg \ No newline at end of file diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png new file mode 100644 index 0000000..256e201 Binary files /dev/null and b/static/apple-touch-icon.png differ diff --git a/static/favicon.svg b/static/favicon.svg new file mode 100644 index 0000000..b977441 --- /dev/null +++ b/static/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/manifest.webmanifest b/static/manifest.webmanifest new file mode 100644 index 0000000..178b5dd --- /dev/null +++ b/static/manifest.webmanifest @@ -0,0 +1,16 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "https://seirdy.one/apple-touch-icon.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "https://seirdy.one/favicon.svg", + "sizes": "193x193", + "type": "image/svg" + } + ] +} diff --git a/static/mask.svg b/static/mask.svg new file mode 100644 index 0000000..d1fc9b9 --- /dev/null +++ b/static/mask.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/etch-custom/layouts/partials/head.html b/themes/etch-custom/layouts/partials/head.html index 6a4b962..d4952e5 100644 --- a/themes/etch-custom/layouts/partials/head.html +++ b/themes/etch-custom/layouts/partials/head.html @@ -4,20 +4,23 @@ {{ with .Site.Params.description -}} {{ end }} - {{- $favicon := resources.Get "/favicon.png" | resources.Fingerprint "sha384" -}} - {{ printf `` $favicon.RelPermalink $favicon.Data.Integrity | safeHTML }} - + {{- $icon_192 := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "sha384" -}} + {{ printf `` $icon_192.RelPermalink $icon_192.Data.Integrity | safeHTML }} + {{ $favicon := resources.Get "/favicon.png" | resources.Fingerprint "sha384" -}} + {{ printf `` $favicon.RelPermalink $favicon.Data.Integrity | safeHTML -}} + + {{ printf `` $icon_192.RelPermalink $icon_192.Data.Integrity | safeHTML }} + {{ $mask_icon := resources.Get "/mask.svg" | resources.Fingerprint "sha384" -}} + {{ printf `` $mask_icon.RelPermalink $mask_icon.Data.Integrity | safeHTML }} + + {{ if eq .Site.BaseURL "https://envs.net/~seirdy/" -}} {{ else -}} {{ end -}} - - {{- $apple_icon := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "sha384" -}} - {{ printf `` $apple_icon.RelPermalink $apple_icon.Data.Integrity | safeHTML }} - {{- $mask_icon := resources.Get "/mask.svg" | resources.Fingerprint "sha384" -}} - {{ printf `` $mask_icon.RelPermalink $mask_icon.Data.Integrity | safeHTML }} {{ $resources := slice -}} {{ $resources = $resources | append (resources.Get "/css/main.css") -}} {{ $resources = $resources | append (resources.Get "/css/narrow.css") -}}