{{- partial "meta/main.html" . }} {{- hugo.Generator }} {{/* Open Graph tags */}} {{ template "_internal/opengraph.html" . }} {{/* Twitter Card tags */}} {{ template "_internal/twitter_cards.html" . }} {{/* Canonical link, RSS */}} {{- with .OutputFormats.Get "RSS" }} {{- end }} {{- /* Styles */ -}} {{- $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" "style.css") | minify | fingerprint }} {{- $code_syntax_highlight_css := resources.Get "code-highlight.css" | minify | fingerprint }} {{/* Favicons */}} {{- partial "webmanifest.html" . -}} {{- partial "browserconfig.html" . -}} {{/* SVG favicon for the modern web */}} {{/* Katex support (enabled on specific pages). See 'helpers/katex.html' for more info. */}} {{- if or .Params.math .Site.Params.math }}{{ partial "helpers/katex.html" . -}}{{- end -}} {{/* Google analytics script. See hugo.toml to enable/disable this. */}} {{- if hugo.IsProduction | or (eq site.Params.env "production") }} {{ template "_internal/google_analytics.html" . }} {{- end -}} {{/* Extend head with user supplied partial */}} {{ if templates.Exists "partials/custom-head.html" }} {{ partial "custom-head.html" . }} {{ end }}