{{- define "partials/header.html" -}} {{ if site.Params.navigation.breadcrumb }}{{ partial "assets/breadcrumb.html" . }}{{ end -}} {{ if in (slice "docs" "minimal") .Layout }} {{ with .Title }}
{{ . }}
{{ end }} {{ partial "assets/sharing.html" . }}{{ .Description }}
{{ else }} {{ $lastmodstr := (partial "utilities/date.html" (dict "date" .Lastmod "format" "long")) -}} {{ $datestr := (partial "utilities/date.html" (dict "date" .Date "format" "long")) -}} {{ with .Title }}{{ . }}
{{ end }} {{ $datestr | i18n "postedOnDate" -}} {{ if ne $datestr $lastmodstr -}} ({{ $lastmodstr | i18n "lastModified" }}){{ end }} • {{ .ReadingTime | lang.FormatNumber 0 }} {{ i18n "minutesShort" }} {{ i18n "read" }} • {{ .WordCount | lang.FormatNumber 0 }} {{ i18n "words" }} {{- if gt (len (.GetTerms "tags")) 0 -}}{{ .Description }}
{{ end }} {{ end -}} {{ define "partials/body.html" -}} {{- if and .Site.Params.navigation.toc .Params.includeToc | default true -}}