{{ 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 (fileExists "layouts/partials/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 }} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ with resources.GetMatch .Site.Params.bgimg -}} {{- end }}