summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html19
1 files changed, 9 insertions, 10 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b921452..99d33ae 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -102,6 +102,15 @@
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}">
{{ end -}}
+{{- /* Misc */}}
+{{- if hugo.IsProduction | or (eq site.Params.env "production") }}
+{{- template "_internal/google_analytics.html" . }}
+{{- end -}}
+{{- template "partials/templates/opengraph.html" . }}
+{{- template "partials/templates/twitter_cards.html" . }}
+{{- template "partials/templates/schema_json.html" . }}
+
+{{- partial "extend_head.html" . }}
<noscript>
<style>
#theme-toggle,
@@ -141,13 +150,3 @@
</style>
{{- end }}
</noscript>
-
-{{- partial "extend_head.html" . -}}
-
-{{- /* Misc */}}
-{{- if hugo.IsProduction | or (eq site.Params.env "production") }}
-{{- template "_internal/google_analytics.html" . }}
-{{- template "partials/templates/opengraph.html" . }}
-{{- template "partials/templates/twitter_cards.html" . }}
-{{- template "partials/templates/schema_json.html" . }}
-{{- end -}}