- {{/* NOTE: the Site's title, and if there is a page title, that is set too */}}
+ {{/* NOTE: the Site's title, and if there is a page title, that is set too */}}
{{ block "title" . }}{{ .Site.Title }} {{ with .Title }} | {{ . }}{{ end }}{{ end }}
- {{ .Hugo.Generator }}
- {{/* 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") }}
-
- {{ else }}
-
- {{ end }}
+ {{ .Hugo.Generator }}
+ {{/* 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") }}
+
+ {{ else }}
+
+ {{ end }}
-
+
- {{ if .RSSLink }}
+ {{ if .RSSLink }}
- {{ end }}
+ {{ end }}
- {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}
- {{- template "_internal/opengraph.html" . -}}
- {{- template "_internal/google_news.html" . -}}
- {{- template "_internal/schema.html" . -}}
- {{- template "_internal/twitter_cards.html" . -}}
+ {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}
+ {{- template "_internal/opengraph.html" . -}}
+ {{- template "_internal/google_news.html" . -}}
+ {{- template "_internal/schema.html" . -}}
+ {{- template "_internal/twitter_cards.html" . -}}
- {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
- {{ template "_internal/google_analytics_async.html" . }}
- {{ end }}
+ {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
+ {{ template "_internal/google_analytics_async.html" . }}
+ {{ end }}