diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 41d94fd..34e2b1f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,7 +3,7 @@ {{- $icon_192 := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "md5" -}} -{{ printf `` $icon_192.RelPermalink | safeHTML }} +{{- printf `` $icon_192.RelPermalink | safeHTML }} {{ $favicon := resources.Get "/favicon.png" -}} {{ $favicon_base64 := $favicon.Content | base64Encode }} {{ printf `` $favicon_base64 | safeHTML -}} @@ -15,7 +15,7 @@ {{ $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}} -{{ printf `` $webmanifest.RelPermalink | safeHTML }} +{{- printf `` $webmanifest.RelPermalink | safeHTML }} {{ if and (ne .Site.BaseURL "https://seirdy.one/") (ne .Site.BaseURL "http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion/") -}} @@ -24,7 +24,7 @@ {{ end -}} -{{- $resources := slice -}} +{{ $resources := slice -}} {{ $resources = $resources | append (resources.Get "/css/main.css") -}} {{ $dark := .Site.Params.dark | default "auto" -}} {{ if not (eq $dark "off") -}} @@ -50,8 +50,7 @@ {{ $og_image := resources.Get "/favicon512.png" | resources.Fingerprint "md5" -}} {{ printf `` $og_image.Permalink | safeHTML }} - - +