{{- $public_cdn := cond .Site.IsServer "" .Site.Params.publicCDN -}} {{- $title := partialCached "data/title" . .RelPermalink -}} {{- $description := partialCached "data/description" . .RelPermalink -}} {{- partial "helper/resources" . -}} {{- $title -}} {{- $sassTemplate := resources.Get "sass/main.scss" -}} {{- $styles := $sassTemplate | resources.ExecuteAsTemplate "main.css" . | resources.ToCSS | postCSS (dict "config" "postcss.config.js") -}} {{- if .Site.IsServer -}} {{- else -}} {{- $styles := $styles | fingerprint | resources.PostProcess -}} {{- end -}} {{- partial "html/head/opengraph/include.html" . -}} {{- $favicon_icon := resources.Get "icon.png" -}} {{- $favicon_icon = $favicon_icon.Resize "48x48 ico icon" -}} {{- $favicon_icon = slice $favicon_icon | resources.Concat "favicon.ico" -}} {{- $favicon_icon = print $public_cdn $favicon_icon.RelPermalink -}} {{- $manifest := resources.Get "manifest.json" | resources.ExecuteAsTemplate (print ("/" | relLangURL) "manifest.json") . -}} {{- $icon := print $public_cdn (resources.Get "icon.png").RelPermalink -}} {{- partial "html/head/site-schema.html" . -}} {{- partial "custom/head" . -}}