{{ $title := print .Title " | " .Site.Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ template "_internal/opengraph.html" . }} {{ $base := resources.Get "base.css" -}} {{- $code := resources.Get "code.css" -}} {{- $footer := resources.Get "footer.css" -}} {{- $header := resources.Get "header.css" -}} {{- $home := resources.Get "home.css" -}} {{- $pagination := resources.Get "pagination.css" -}} {{- $allCss := slice $base $code $footer $header $home $pagination | resources.Concat "static/all.css" | fingerprint | minify -}} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ $title }} {{- partial "nav.html" . -}}
{{- block "main" . }}{{ end -}}
{{- partial "footer.html" . -}} {{- partial "themeSwitcher.html" . -}}