{{- $icon_192 := resources.Get "/apple-touch-icon.png" | resources.Fingerprint "md5" -}} {{ printf `` $icon_192.RelPermalink | safeHTML }} {{ $favicon := resources.Get "/favicon.png" | resources.Fingerprint "md5" -}} {{ printf `` $favicon.RelPermalink | safeHTML -}} {{ printf `` $icon_192.RelPermalink | safeHTML -}} {{ $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}} {{ printf `` $webmanifest.RelPermalink | safeHTML }} {{ if ne .Site.BaseURL "https://seirdy.one/" -}} {{ else -}} {{ end -}} {{- $resources := slice -}} {{ $resources = $resources | append (resources.Get "/css/main.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 "/" -}}