From 3b56eb714a608543796fa98923a07aac4d7f65fd Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 30 Aug 2021 15:10:50 -0700 Subject: [PATCH] Chore: fix header whitespace --- layouts/partials/head.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 }} - - +