2017-04-11 03:27:13 +02:00
<!DOCTYPE html>
2024-10-17 18:36:37 +02:00
< html lang = "{{ site.Language.LanguageCode }}" { { - with partialCached " func / GetLanguageDirection " " GetLanguageDirection " } } dir = "{{ . }}" { { - end } } >
2017-04-11 03:27:13 +02:00
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" >
2017-09-26 17:55:13 +02:00
{{/* NOTE: the Site's title, and if there is a page title, that is set too */}}
2020-04-28 18:53:57 +02:00
< title > {{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}< / title >
2017-04-14 05:01:23 +02:00
< meta name = "viewport" content = "width=device-width,minimum-scale=1" >
2020-10-06 14:15:01 +02:00
< meta name = "description" content = "{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" >
2019-09-15 21:12:51 +02:00
{{ hugo.Generator }}
2017-09-26 17:55:13 +02:00
{{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}}
2022-02-02 19:42:05 +01:00
{{ $production := eq (getenv "HUGO_ENV") "production" | or (eq site.Params.env "production") }}
{{ $public := not .Params.private }}
{{ if and $production $public }}
< meta name = "robots" content = "index, follow" >
2017-09-26 17:55:13 +02:00
{{ else }}
2022-02-02 19:42:05 +01:00
< meta name = "robots" content = "noindex, nofollow" >
2017-09-26 17:55:13 +02:00
{{ end }}
2024-04-18 17:23:24 +02:00
{{ with .Params.author | default .Site.Params.author }}
< meta name = "author" content = "
{{- if reflect.IsSlice . -}}
{{ delimit . ", " | plainify }}
{{- else -}}
{{ . | plainify }}
{{- end -}}
">
{{ end }}
2017-04-15 05:36:23 +02:00
2021-01-19 21:43:02 +01:00
{{ partial "site-style.html" . }}
2021-12-23 22:33:51 +01:00
{{ partial "site-scripts.html" . }}
2023-11-21 20:41:58 +01:00
2017-09-27 13:52:26 +02:00
{{ block "favicon" . }}
2019-03-22 00:13:18 +01:00
{{ partialCached "site-favicon.html" . }}
2017-09-27 13:52:26 +02:00
{{ end }}
2017-04-11 03:27:13 +02:00
2019-09-15 21:12:51 +02:00
{{ if .OutputFormats.Get "RSS" }}
2019-09-28 14:49:03 +02:00
{{ with .OutputFormats.Get "RSS" }}
< link href = "{{ .RelPermalink }}" rel = "alternate" type = "application/rss+xml" title = "{{ $.Site.Title }}" / >
< link href = "{{ .RelPermalink }}" rel = "feed" type = "application/rss+xml" title = "{{ $.Site.Title }}" / >
{{ end }}
2017-09-26 17:55:13 +02:00
{{ end }}
2023-11-21 20:41:58 +01:00
{{ if .Params.canonicalUrl }}
< link rel = "canonical" href = "{{ .Params.canonicalUrl }}" >
{{ else }}
< link rel = "canonical" href = "{{ .Permalink }}" >
{{ end }}
2020-10-06 14:15:01 +02:00
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
2017-09-26 17:55:13 +02:00
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/schema.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
2017-04-11 03:27:13 +02:00
2017-09-26 17:55:13 +02:00
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
2022-09-06 16:05:55 +02:00
{{ template "_internal/google_analytics.html" . }}
2017-09-26 17:55:13 +02:00
{{ end }}
2020-10-06 14:15:01 +02:00
{{ block "head" . }}{{ partial "head-additions.html" . }}{{ end }}
2017-04-11 03:27:13 +02:00
< / head >
2017-04-15 05:46:58 +02:00
2017-08-24 02:00:53 +02:00
< body class = "ma0 {{ $.Param " body_classes " | default " avenir bg-near-white " } } { { with getenv " HUGO_ENV " } } { { . } } { { end } } " >
2017-04-15 05:46:58 +02:00
2017-04-11 03:27:13 +02:00
{{ block "header" . }}{{ partial "site-header.html" .}}{{ end }}
< main class = "pb7" role = "main" >
{{ block "main" . }}{{ end }}
< / main >
2019-03-22 00:13:18 +01:00
{{ block "footer" . }}{{ partialCached "site-footer.html" . }}{{ end }}
2017-04-11 03:27:13 +02:00
< / body >
< / html >