Skip to content

Commit

Permalink
added google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrussel committed Nov 20, 2022
1 parent f821bcd commit 7adc15e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ DefaultContentLanguage = "en" # Change this to change the site's language
preserveTaxonomyNames = true

[params]
google_analytics_id="G-K8C29Z7Q33"
# The name to display as main title in the home page
mainpagetitle = "Ian Russel Adem"

Expand Down
1 change: 1 addition & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
{{- end }}
{{/* Don't ask why it's like this. This original theme is a mess... */}}
<!-- <noscript><style>body { visibility: visible }</style></noscript> -->
{{ template "_internal/google_analytics.html" . }}
</head>

0 comments on commit 7adc15e

Please sign in to comment.