2016-03-17 12:01:39 +01:00
<!DOCTYPE html>
2022-11-17 22:12:18 +01:00
{{- $format := partial "get-format.hugo" . }}
{{- $outputFormat := partial "output-format.hugo" (dict "page" . "format" $format) }}
{{- $basename := "index" }}
{{- if eq $outputFormat "searchpage" }}
2022-11-19 13:40:26 +01:00
{{- $basename = partial "BaseName.hugo" $format.RelPermalink }}
2022-11-17 22:12:18 +01:00
{{- end }}
2022-11-07 20:57:17 +01:00
< html lang = "{{ .Page.Language | default " en " } } " dir = "{{ T " Reading-direction " | default " ltr " } } " >
2016-03-17 12:01:39 +01:00
< head >
2021-09-12 00:40:03 +02:00
{{- partial "meta.html" . }}
2022-11-02 00:14:19 +01:00
{{- $page := . }}
2022-07-07 21:42:45 +02:00
{{- $link := "< link href = \"%s\" rel = \"%s\" type = \"%s\" title = \"%s\" > " }}
2023-05-04 22:07:59 +02:00
{{- $title := .Title }}
{{- if eq $outputFormat "searchpage" }}
{{- $title = T "Search" }}
2023-05-20 12:20:58 +02:00
{{- else if eq .Kind "taxonomy" }}
{{- $title = i18n .Data.Plural }}
{{- if not $title }}
2023-06-18 11:13:33 +02:00
{{- $title = .Data.Plural }}
2023-05-20 12:20:58 +02:00
{{- end }}
2023-05-04 22:07:59 +02:00
{{- else if eq .Kind "term" }}
2023-05-19 00:14:08 +02:00
{{- $title = i18n .Data.Singular }}
{{- if not $title }}
2023-06-18 11:13:33 +02:00
{{- $title = .Data.Singular }}
2023-05-19 00:14:08 +02:00
{{- end }}
2023-10-29 00:03:19 +02:00
{{- $title = printf "%s %s %s" (default .Data.Term .Title) (default "::" .Site.Params.titleSeparator) $title }}
2023-05-04 22:07:59 +02:00
{{- end }}
2023-05-18 14:03:39 +02:00
{{- if and $title .Site.Title (not (eq $title .Site.Title)) }}
2023-05-04 22:07:59 +02:00
{{- $title = printf "%s %s %s" $title (default "::" .Site.Params.titleSeparator) .Site.Title }}
2022-11-06 01:37:33 +01:00
{{- end }}
< title > {{ $title }}< / title >
2018-02-19 16:09:45 +00:00
2023-01-25 12:41:02 +01:00
{{- if .IsTranslated -}}
{{- range $index, $trans := .AllTranslations }}
{{- if eq $index 0 }}
< link href = "{{ partial " relLangPrettyUglyURL . hugo " ( dict " to " . " abs " true " basename " $ basename ) } } " rel = "alternate" hreflang = "x-default" >
{{- end }}
< link href = "{{ partial " relLangPrettyUglyURL . hugo " ( dict " to " . " abs " true " basename " $ basename ) } } " rel = "alternate" hreflang = "{{ .Language.Lang }}" >
{{- end }}
{{- end }}
2022-02-06 13:51:54 +01:00
{{- if not (and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) ) }}
{{- else }}
2023-01-25 12:41:02 +01:00
{{- range .AlternativeOutputFormats }}
{{- if eq .Rel "canonical" }}
2022-11-17 22:12:18 +01:00
{{ (printf $link (partial "relLangPrettyUglyURL.hugo" (dict "to" . "abs" true "basename" $basename)) .Rel .MediaType.Type ($title | htmlEscape)) | safeHTML }}
2023-01-25 12:41:02 +01:00
{{- else if eq $outputFormat "searchpage" }}
{{- else if eq .Name "SEARCHPAGE" }}
{{- else if and (ne .Name "JSON") (ne .Name "SEARCH") }}
2022-11-11 13:44:23 +01:00
{{ (printf $link (partial "relLangPrettyUglyURL.hugo" (dict "to" .)) .Rel .MediaType.Type ($title | htmlEscape)) | safeHTML }}
2022-02-06 13:51:54 +01:00
{{- end }}
2023-01-25 12:41:02 +01:00
{{- end }}
2020-03-09 15:50:24 +00:00
{{- end }}
2023-01-25 12:41:02 +01:00
2022-02-06 13:51:54 +01:00
{{- if and (ne .Site.Params.disableSeoHiddenPages true) (ne .Site.Params.disableSearchHiddenPages true) }}
2023-01-25 12:41:02 +01:00
{{- range .AlternativeOutputFormats }}
{{- if eq .Name "SEARCHPAGE" }}
{{- else if eq .Name "JSON" }}
2022-11-06 01:37:33 +01:00
{{ (printf $link (.Permalink | relURL) .Rel .MediaType.Type ($title | htmlEscape)) | safeHTML }}
2022-02-06 13:51:54 +01:00
{{- end }}
2023-01-25 12:41:02 +01:00
{{- end }}
2021-11-24 12:03:11 +01:00
{{- end }}
2022-02-06 13:51:54 +01:00
2022-11-12 15:16:53 +01:00
{{- partialCached "favicon.html" . }}
2023-10-12 21:11:51 +02:00
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }}
{{- partial "dependencies.html" (dict "page" . "location" "header" "outputFormat" $outputFormat) }}
2021-09-12 00:40:03 +02:00
{{- partial "custom-header.html" . }}
2016-03-17 12:01:39 +01:00
< / head >
2023-06-22 18:42:43 +02:00
< body class = "mobile-support {{ $outputFormat }}{{- if .Site.Params.disableInlineCopyToClipBoard }} disableInlineCopyToClipboard{{ end }}{{- if .Site.Params.disableHoverBlockCopyToClipBoard }} disableHoverBlockCopyToClipBoard{{ end }}" data-url = "{{ partial " relLangPrettyUglyURL . hugo " ( dict " to " . ) } } " >
2023-09-23 10:18:31 +02:00
< div id = "R-body" class = "default-animation" >
< div id = "R-body-overlay" > < / div >
< nav id = "R-topbar" >
2023-09-18 20:24:49 +02:00
< div class = "topbar-wrapper" >
2023-09-13 23:10:41 +02:00
< div class = "topbar-sidebar-divider" > < / div >
2023-09-18 20:24:49 +02:00
< div class = "topbar-area topbar-area-start" data-area = "start" >
{{- partial "topbar/area/start.html" . }}
2023-09-13 23:10:41 +02:00
< / div >
{{- $showBreadcrumb := (and (not .Params.disableBreadcrumb) (not .Site.Params.disableBreadcrumb)) }}
{{- if $showBreadcrumb }}
2023-09-21 00:26:42 +02:00
< ol class = "topbar-breadcrumbs breadcrumbs highlightable" itemscope itemtype = "http://schema.org/BreadcrumbList" >
2023-09-24 00:27:39 +02:00
{{- partial "breadcrumbs.html" (dict "page" .) }}
2023-09-13 23:10:41 +02:00
< / ol >
{{- else }}
< span class = "topbar-breadcrumbs highlightable" >
{{ .Title }}
< / span >
{{- end }}
2023-09-18 20:24:49 +02:00
< div class = "topbar-area topbar-area-end" data-area = "end" >
{{- partial "topbar/area/end.html" . }}
2023-09-12 23:18:49 +02:00
< / div >
2022-02-27 10:27:12 +01:00
< / div >
2022-02-28 01:19:32 +01:00
< / nav >
2022-11-13 11:31:46 +01:00
{{- $hook := "styleclass" }}
2023-09-23 10:18:31 +02:00
< div id = "R-main-overlay" > < / div >
< main id = "R-body-inner" class = "highlightable {{ partialCached " archetype . hugo " ( dict " hook " $ hook " page " . " parameter " . " outputFormat " $ outputFormat ) . RelPermalink $ outputFormat $ hook } } " tabindex = "-1" >
2023-09-24 00:27:39 +02:00
< div class = "flex-block-wrapper" >