| | |
| | | <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}"> |
| | | {{ hugo.Generator }} |
| | | {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} |
| | | {{ $production := eq (getenv "HUGO_ENV") "production" | or (eq site.Params.env "production") }} |
| | | {{ $production := hugo.IsProduction }} |
| | | {{ $public := not .Params.private }} |
| | | {{ if and $production $public }} |
| | | <meta name="robots" content="index, follow"> |
| | |
| | | {{- template "_internal/schema.html" . -}} |
| | | {{- template "_internal/twitter_cards.html" . -}} |
| | | |
| | | {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} |
| | | {{ if hugo.IsProduction }} |
| | | {{ template "_internal/google_analytics.html" . }} |
| | | {{ end }} |
| | | {{ block "head" . }}{{ partial "head-additions.html" . }}{{ end }} |
| | | </head> |
| | | |
| | | <body class="ma0 {{ $.Param "body_classes" | default "avenir bg-near-white"}}{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}"> |
| | | {{- $environment := hugo.Environment | default "production" -}} |
| | | <body class="ma0 {{ $.Param "body_classes" | default "avenir bg-near-white"}} {{ $environment }}"> |
| | | |
| | | {{ block "header" . }}{{ partial "site-header.html" .}}{{ end }} |
| | | <main class="pb7" role="main"> |