{{ hugo.Generator }} {{- with .Site.Params.defaultTheme | default "light" -}} {{- if eq . "light" -}} {{- else -}} {{- end -}} {{- end -}} {{ (partial "utils/title.html" (dict "$" . "title" .Title)).title }} {{- partial "style.html" . }} {{ if ne .Kind "404" }} {{ partial "script.html" . }} {{ end }} {{- with .Site.Params.fontsLink -}} {{- end }} {{- $description := .Description | default (partial "utils/summary.html" .) | default .Site.Params.siteDescription | plainify | htmlUnescape -}} {{- $favicon := "favicon.ico" -}} {{- $safariMaskIcon := "icons/safari-pinned-tab.svg" -}} {{- $safariMaskColor := .Site.Params.safariMaskColor -}} {{- $appleTouchIcon := "icons/apple-touch-icon.png" -}} {{- $msApplicationStartURL := partial "utils/relative-url.html" (dict "$" . "filename" "") -}} {{- $msApplicationTileColor := .Site.Params.msApplicationTileColor -}} {{- $msApplicationTileImage := partial "utils/relative-url.html" (dict "$" . "filename" "icons/mstile-150x150.png") -}} {{- $manifest := "manifest.json" -}} {{ with .OutputFormats.Get "SectionsAtom" -}} {{ end -}} {{ with .OutputFormats.Get "SectionsRSS" -}} {{ end }} {{- with .Site.Params.jsonLD -}} {{ partial "utils/json-ld.html" (dict "$" $ "description" $description) }} {{- end }} {{- with .Site.Params.twitterCards -}} {{ partial "utils/twitter-cards.html" (dict "$" $) }} {{- end }} {{- with .Site.Params.openGraph -}} {{ partial "utils/open-graph.html" (dict "$" $ "description" $description) }} {{- end }} {{- with .Site.Params.googleSiteVerification }} {{- end }} {{- if and .Site.Params.enableGoogleAnalytics (eq hugo.Environment "production") }} {{ partial "third-party/google-analytics.html" . }} {{- end }} {{- if or .Site.Params.enableGoogleAutoAds .Site.Params.enableGoogleAdUnits }} {{ if eq hugo.Environment "production" }} {{ partial "third-party/google-adsense.html" . }} {{ end }} {{- end }} {{- if and .Site.Params.enableGoogleAutoAds (eq hugo.Environment "production") -}} {{ partial "third-party/google-adsense-auto.html" . }} {{- end }} {{ if and .Site.Params.yandexMetrikaId (eq hugo.Environment "production") }} {{ partial "third-party/yandex-metrika.html" . }} {{- end }} {{ partial "custom/head.html" . }}