gabrielgio.me @ 9bf9cb55a3454a618e2a3637d3fe854de71660e3

 1<!DOCTYPE html>
 2<html lang="{{ $.Site.LanguageCode | default "en" }}">
 3  <head>
 4    <meta charset="utf-8">
 5    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 6    {{/* NOTE: the Site's title, and if there is a page title, that is set too */}}
 7    <title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
 8    <meta name="viewport" content="width=device-width,minimum-scale=1">
 9    {{ hugo.Generator }}
10    {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}}
11    {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production")  }}
12      <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
13    {{ else }}
14      <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
15    {{ end }}
16
17    {{ $stylesheet := .Site.Data.webpack_assets.app }}
18    {{ with $stylesheet.css }}
19      <link href="{{ relURL (printf "%s%s" "dist/" .) }}" rel="stylesheet">
20    {{ end }}
21
22    {{ range .Site.Params.custom_css }}
23      <link rel="stylesheet" href="{{ relURL (.) }}">
24    {{ end }}
25
26    {{ block "favicon" . }}
27      {{ partialCached "site-favicon.html" . }}
28    {{ end }}
29
30    {{ if .OutputFormats.Get "RSS" }}
31    {{ with .OutputFormats.Get "RSS" }}
32      <link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
33      <link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
34      {{ end }}
35    {{ end }}
36    
37    {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}
38    {{- template "_internal/opengraph.html" . -}}
39    {{- template "_internal/schema.html" . -}}
40    {{- template "_internal/twitter_cards.html" . -}}
41
42    {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production")  }}
43      {{ template "_internal/google_analytics_async.html" . }}
44    {{ end }}
45	{{ block "head" . }}{{ partial "head-additions.html" }}{{ end }}
46  </head>
47
48  <body class="ma0 {{ $.Param "body_classes"  | default "avenir bg-near-white"}}{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
49
50    {{ block "header" . }}{{ partial "site-header.html" .}}{{ end }}
51    <main class="pb7" role="main">
52      {{ block "main" . }}{{ end }}
53    </main>
54    {{ block "footer" . }}{{ partialCached "site-footer.html" . }}{{ end }}
55    {{ block "scripts" . }}{{ partialCached "site-scripts.html" . }}{{ end }}
56  </body>
57</html>