diff --git a/static/manifest.webmanifest b/assets/manifest.webmanifest similarity index 100% rename from static/manifest.webmanifest rename to assets/manifest.webmanifest diff --git a/assets/mask_apple.svg b/assets/mask_apple.svg deleted file mode 120000 index 4b501d7..0000000 --- a/assets/mask_apple.svg +++ /dev/null @@ -1 +0,0 @@ -../static/mask_apple.svg \ No newline at end of file diff --git a/assets/mask_apple.svg b/assets/mask_apple.svg new file mode 100644 index 0000000..d1fc9b9 --- /dev/null +++ b/assets/mask_apple.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/open_graph.png b/assets/open_graph.png new file mode 100644 index 0000000..360181b Binary files /dev/null and b/assets/open_graph.png differ diff --git a/static/mask_apple.svg b/static/mask_apple.svg deleted file mode 100644 index d1fc9b9..0000000 --- a/static/mask_apple.svg +++ /dev/null @@ -1 +0,0 @@ - \ 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 4b0df87..b10ebd6 100644 --- a/themes/etch-custom/layouts/partials/head.html +++ b/themes/etch-custom/layouts/partials/head.html @@ -14,12 +14,13 @@ {{ printf `` $icon_192.RelPermalink | safeHTML }} {{ $mask_icon := resources.Get "/mask_apple.svg" | resources.Fingerprint "md5" -}} {{ printf `` $mask_icon.RelPermalink | safeHTML }} - - + {{ $webmanifest := resources.Get "/manifest.webmanifest" | resources.Fingerprint "md5" -}} + {{ printf `` $webmanifest.RelPermalink | safeHTML }} + {{ if eq .Site.BaseURL "https://envs.net/~seirdy/" -}} {{ else -}} - + {{ end -}} {{ $resources := slice -}} {{ $resources = $resources | append (resources.Get "/css/main.css") -}} @@ -48,9 +49,10 @@ {{- else }} {{- end }} - {{ printf `` $icon_192.Permalink | safeHTML }} + {{ $og_image := resources.Get "/open_graph.png" | resources.Fingerprint "md5" -}} + {{ printf `` $og_image.Permalink | safeHTML }} - - - + + +