diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c0ae0ad..c1ee266 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,34 +5,37 @@ {{ if not .IsHome }}{{with .Title }}{{ . }} · {{ end }}{{ end }}{{ .Site.Title }} {{ if (fileExists "static/apple-touch-icon.png") -}} - + {{ end -}} {{ if (fileExists "static/favicon-32x32.png") -}} - + {{ end -}} {{ if (fileExists "static/favicon-16x16.png") -}} - + {{ end -}} {{ if (fileExists "static/site.webmanifest") -}} {{ end -}} {{ if (fileExists "static/safari-pinned-tab.svg") -}} - + + {{ end -}} + {{ if isset $.Site.Params "mastodon_profile_link" -}} + {{ end -}} {{ if (fileExists "layouts/partials/meta-tags.html") -}} - {{ partial "meta-tags.html" . }} + {{ partial "meta-tags.html" . }} {{ end -}} {{ with resources.Get "css/katex.css" -}} - + {{ end -}} - {{ $normalizeStyle := resources.Get "css/normalize.css" }} - {{ $mainStyle := resources.Get "css/style.css" }} - {{ $overrideStyle := resources.Get "css/override.css" }} - {{ $printStyle := resources.Get "css/print.css" }} - {{ $style := slice $normalizeStyle $mainStyle $overrideStyle $printStyle | resources.Concat "css/concated.css" | minify }} + {{ $normalizeStyle := resources.Get "css/normalize.css" -}} + {{ $mainStyle := resources.Get "css/style.css" -}} + {{ $overrideStyle := resources.Get "css/override.css" -}} + {{ $printStyle := resources.Get "css/print.css" -}} + {{ $style := slice $normalizeStyle $mainStyle $overrideStyle $printStyle | resources.Concat "css/concated.css" | minify -}} {{ range .AlternativeOutputFormats -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ with resources.GetMatch .Site.Params.bgimg -}}