2017-04-11 03:27:13 +02:00
<!DOCTYPE html>
2017-04-17 16:54:58 +02:00
< html lang = "{{ $.Site.LanguageCode | default " en " } } " >
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 */}}
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
< META NAME = "ROBOTS" CONTENT = "INDEX, FOLLOW" >
{{ else }}
< META NAME = "ROBOTS" CONTENT = "NOINDEX, NOFOLLOW" >
{{ end }}
2017-04-15 05:36:23 +02:00
2018-04-11 00:35:56 +02:00
{{ $stylesheet := .Site.Data.webpack_assets.app }}
{{ with $stylesheet.css }}
2018-05-17 22:54:40 +02:00
< link href = "{{ relURL (printf " % s % s " " dist / " . ) } } " rel = "stylesheet" >
2018-04-09 18:33:10 +02:00
{{ end }}
2018-04-24 14:48:53 +02:00
{{ range .Site.Params.custom_css }}
2020-06-03 16:16:59 +02:00
< link rel = "stylesheet" href = "{{ relURL (.) }}" >
2018-04-24 14:48:53 +02:00
{{ end }}
2018-04-11 00:35:56 +02: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 }}
2019-09-28 14:49:03 +02:00
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") }}
{{ template "_internal/google_analytics_async.html" . }}
{{ 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 }}
{{ block "scripts" . }}{{ partialCached "site-scripts.html" . }}{{ end }}
2017-04-11 03:27:13 +02:00
< / body >
< / html >