{{ $description := .Site.Params.description }} {{ with .Description }} {{ $description = . }} {{ else }} {{ with .Summary }} {{ $description = . | plainify }} {{ end }} {{ end }} {{ if .IsHome }} {{ .Site.Title }} {{ else }} {{ .Title }} | {{ .Site.Title }} {{ end }} {{ if fileExists "static/favicon-32.png" }} {{ end }} {{ if fileExists "static/apple-touch-icon.png" }} {{ end }} {{ if and (fileExists "static/android-chrome-192x192.png") (fileExists "static/android-chrome-512x512.png") }} {{ end }} {{ with resources.Get "css/site.css" | fingerprint }} {{ end }} {{ if or .IsHome (and .IsPage (eq .Section "studies") .Params.study.toc) }} {{ with resources.Get "js/main.js" | fingerprint }} {{ end }} {{ end }} {{- $pageLabel := "" -}} {{- $pageHref := "" -}} {{- if and .IsSection (eq .Section "studies") -}} {{- $pageLabel = "Case studies" -}} {{- $pageHref = "/studies" | relURL -}} {{- end -}} {{- if and .IsPage (eq .Section "studies") -}} {{- $pageLabel = "Case study" -}} {{- $pageHref = "/studies" | relURL -}} {{- end -}} {{- with .Params.header.page -}} {{- with .title -}} {{- $pageLabel = . -}} {{- end -}} {{- with .url -}} {{- $pageHref = . | relURL -}} {{- end -}} {{- end -}}
{{- if $pageLabel -}} {{ $pageLabel }} {{ end }}
  • Case studies {{ partial "icon.html" (dict "name" "book") }}
  • Get in touch {{ partial "icon.html" (dict "name" "mail") }}
  • GitHub {{ partial "icon.html" (dict "name" "github") }}
  • {{ block "main" . }}{{ end }}