Skip to content

Commit

Permalink
fix google analytics deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
olivercodes authored Sep 14, 2024
1 parent 248caf9 commit 47edbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/cactus/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
{{ end }}
{{ end }}
{{ if .Site.GoogleAnalytics }}
{{ if .Site.Config.Services.GoogleAnalytics.ID }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
</head>

0 comments on commit 47edbd4

Please sign in to comment.