Skip to content

Commit

Permalink
Trying to add analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Gopal-Dahale committed Nov 18, 2023
1 parent 00cb0cf commit e1d6062
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildFuture: false
buildExpired: false
enableEmoji: true
pygmentsUseClasses: true
googleAnalytics: G-D59RMHDF7Y
googleAnalytics: G-9LHHHMGS3N
minify:
disableXML: true
# minifyOutput: true
Expand Down
1 change: 1 addition & 0 deletions docs/themes/PaperMod/layouts/partials/extend_head.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{- /* Head custom content area start */ -}}
{{- /* Insert any custom code (web-analytics, resources, etc.) - it will appear in the <head></head> 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 */ -}}

Expand Down
1 change: 0 additions & 1 deletion docs/themes/PaperMod/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}
Expand Down

0 comments on commit e1d6062

Please # to comment.