diff --git a/docs/config.yml b/docs/config.yml index 005d89d..45fba33 100644 --- a/docs/config.yml +++ b/docs/config.yml @@ -12,7 +12,7 @@ buildFuture: false buildExpired: false enableEmoji: true pygmentsUseClasses: true -googleAnalytics: G-D59RMHDF7Y +googleAnalytics: G-9LHHHMGS3N minify: disableXML: true # minifyOutput: true diff --git a/docs/themes/PaperMod/layouts/partials/extend_head.html b/docs/themes/PaperMod/layouts/partials/extend_head.html index b849595..059671f 100644 --- a/docs/themes/PaperMod/layouts/partials/extend_head.html +++ b/docs/themes/PaperMod/layouts/partials/extend_head.html @@ -1,5 +1,6 @@ {{- /* Head custom content area start */ -}} {{- /* Insert any custom code (web-analytics, resources, etc.) - it will appear in the section of every page. */ -}} +{{ template "_internal/google_analytics.html" . }} {{- /* Can be overwritten by partial with the same name in the global layouts. */ -}} {{- /* Head custom content area end */ -}} diff --git a/docs/themes/PaperMod/layouts/partials/head.html b/docs/themes/PaperMod/layouts/partials/head.html index 7d73b78..6e91e29 100644 --- a/docs/themes/PaperMod/layouts/partials/head.html +++ b/docs/themes/PaperMod/layouts/partials/head.html @@ -160,7 +160,6 @@ {{- /* 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" . }}