{{- if .Site.Params.opengraph }} {{ template "_internal/opengraph.html" . }} {{- end }} {{- if .Site.Params.schema }} {{ template "_internal/schema.html" . }} {{- end }} {{- if .Site.Params.twitter_cards }} {{ template "_internal/twitter_cards.html" . }} {{- end }} {{- $cssReboot := resources.Get "css/reboot.css" }} {{- $cssMain := resources.Get "css/main.css" }} {{- $cssPrint := resources.Get "css/print.css" }} {{- $style := slice $cssReboot $cssMain $cssPrint | resources.Concat "css/bundle.css" }} {{- range .Site.Params.customCSS }} {{- end }} {{- with .Site.Params.colorTheme }} {{- end }} {{- with .OutputFormats.Get "rss" }} {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{- end }} {{- with ((.Site.GetPage "home").OutputFormats.Get "manifest") }} {{- end }} {{- $server := "" }} {{- if ge (int (index (split hugo.Version ".") 1)) "120" }} {{- $server = hugo.IsServer }} {{- else }} {{- $server = .Site.IsServer }} {{- end }} {{- if not $server -}} {{ template "_internal/google_analytics.html" . }} {{- end }} {{ partial "header" . }}
{{ block "main" . }} {{- if or .Title .Content }}
{{ with .Title }}

{{ . }}

{{ end }} {{ with .Content }}
{{ . }}
{{ end }}
{{ end }} {{ end }}
{{ partial "footer" . }} {{- with .Site.Menus.main }} {{- end }} {{- partial "mathjax.html" . -}} {{- range .Site.Params.customJS }} {{- end }}