{{ with .Site.Params.description -}} {{ end }} {{- $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 -}} {{ $resources := slice -}} {{ $resources = $resources | append (resources.Get "/css/main.css") -}} {{ $resources = $resources | append (resources.Get "/css/narrow.css") -}} {{ $dark := .Site.Params.dark | default "auto" -}} {{ if not (eq $dark "off") -}} {{ $resources = $resources | append (resources.Get "css/dark.css" | resources.ExecuteAsTemplate "dark.css" .) -}} {{ end -}} {{ $css := $resources | resources.Concat "css/style.css" | minify | resources.Fingerprint "sha384" -}} {{ printf `` $css.RelPermalink $css.Data.Integrity | safeHTML }} {{ if .Params.highlight -}} {{ $css_syntax := resources.Get "/css/syntax.css" | minify | resources.Fingerprint "sha384" }} {{- printf `` $css_syntax.RelPermalink $css_syntax.Data.Integrity | safeHTML }} {{ end -}} {{ if eq .RelPermalink "/" -}}