diff --git a/assets/css/dark.css b/assets/css/dark.css index 9dd7d55..e9ad51e 100644 --- a/assets/css/dark.css +++ b/assets/css/dark.css @@ -3,7 +3,7 @@ /* "background" is short for a bunch of unnecessary CSS rules * background-color is all I need * I've been told that pure white on black is a bit harsh */ - background-color: #090900; + background-color: #0c0c0c; color: #ececec; } diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c71a8e8..2f2dd1e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,11 +2,11 @@ -{{- $icon_192 := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "md5" -}} -{{- printf `` $icon_192.RelPermalink | safeHTML }} +{{ $icon_192 := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "md5" }} +{{- printf `` $icon_192.RelPermalink | safeHTML -}} {{ $favicon := resources.Get "/favicon.png" -}} {{ $favicon_base64 := $favicon.Content | base64Encode }} -{{- printf `` $favicon_base64 | safeHTML -}} +{{ printf `` $favicon_base64 | safeHTML -}} @@ -16,6 +16,8 @@ {{- $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}} {{- printf `` $webmanifest.RelPermalink | safeHTML }} + + {{ if and (ne .Site.BaseURL "https://seirdy.one/") (ne .Site.BaseURL "http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion/") -}} @@ -32,9 +34,9 @@ {{ end -}} {{ $css := $resources | resources.Concat "css/style.css" | minify -}} -{{- if eq .RelPermalink "/" -}} +{{- if eq .RelPermalink "/" }}