{{- partial "meta.html" . }}
{{ .Title }} {{ default "::" .Site.Params.titleSeparator }} {{ .Site.Title }}
{{- if not (and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) ) }} {{- else }} {{- range .AlternativeOutputFormats }} {{- if ne .Name "JSON" }}
{{- end }} {{- end }} {{- end }} {{- if and (ne .Site.Params.disableSeoHiddenPages true) (ne .Site.Params.disableSearchHiddenPages true) }} {{- range .AlternativeOutputFormats }} {{- if eq .Name "JSON" }}
{{- end }} {{- end }} {{- end }} {{- partial "favicon.html" . }} {{- partial "stylesheet.html" . }} {{- partial "custom-header.html" . }} {{- partial "menu.html" . }}
{{- if not .IsHome }}
{{- if and (or .IsPage .IsSection) .Site.Params.editURL }} {{- $File := .File }} {{- $Site := .Site }} {{- with $File.Path }}
{{- end }} {{- end }} {{- $defaultDisableToc := .Site.Params.disableToc | default false }} {{- $currentDisableToc := .Params.disableToc | default $defaultDisableToc }} {{- $toc := (and (not $currentDisableToc) (not .Params.chapter)) }}
{{- if $toc }}
{{- end }} {{- $showBreadcrumb := (and (not .Params.disableBreadcrumb) (not .Site.Params.disableBreadcrumb)) }} {{- if $showBreadcrumb }}
{{- template "breadcrumb" dict "page" . "depth" 0 }}
{{- else }}
{{ .Title }}
{{- end }}
{{- if $toc }} {{- partial "toc.html" . }} {{- end }}
{{- end }}
{{- partial "tags.html" . }}
{{- if .Params.chapter }}
{{- end }}
{{- if and (not .IsHome) (not .Params.chapter) }}
{{ if eq .Kind "term" }}{{ .Data.Singular }} :: {{ end }}{{ .Title }}
{{- end }} {{- define "breadcrumb" }} {{- $parent := .page.Parent }} {{- $depth := add .depth 1 }} {{- if $parent }} {{- template "breadcrumb" dict "page" $parent "depth" $depth }} {{- end }}
{{ .page.Title }}
{{ if .depth }} > {{ end }}
{{- end }}