2021-03-11 18:53:14 +01:00
{{ $title := print .Title " | " .Site.Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<!doctype html>
< html class = "no-js" lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2021-07-24 23:33:43 +02:00
< link rel = "icon" href = "/static/favicon.ico" >
2021-03-11 18:53:14 +01:00
{{ template "_internal/opengraph.html" . }}
{{ $base := resources.Get "base.css" -}}
{{- $header := resources.Get "header.css" -}}
{{- $home := resources.Get "home.css" -}}
{{- $pagination := resources.Get "pagination.css" -}}
{{- $footer := resources.Get "footer.css" -}}
2021-08-16 12:35:32 +02:00
{{- $solarized := resources.Get "solarized.css" -}}
{{- $allCss := slice $base $header $home $pagination $footer $solarized | resources.Concat "static/all.css" | fingerprint | minify -}}
2021-03-11 18:53:14 +01:00
< link rel = "stylesheet" href = "{{ $allCss.Permalink }}" >
2021-03-12 12:22:57 +01:00
{{ range .AlternativeOutputFormats -}}
{{ printf `< link rel = "%s" type = "%s" href = "%s" title = "%s" / > ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
2021-03-11 18:53:14 +01:00
< title > {{ $title }}< / title >
2021-09-13 14:32:52 +02:00
< meta name = "description" content = "{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" >
2021-03-11 18:53:14 +01:00
< / head >
< body >
{{- partial "nav.html" . -}}
2022-10-24 01:03:05 +02:00
< main >
2021-03-11 18:53:14 +01:00
{{- block "main" . }}{{ end -}}
< / main >
{{- partial "footer.html" . -}}
< / body >
< / html >