Skip to content

Commit

Permalink
fix: layouts/partials/head.html
Browse files Browse the repository at this point in the history
Signed-off-by: Junya Okabe <[email protected]>
  • Loading branch information
Okabe-Junya committed Jul 23, 2024
1 parent 5570493 commit 9a96812
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@
{{ partial "hooks/head-end.html" . }}
<!--To comply with GDPR, cookie consent scripts places in head-end must execute before Google Analytics is enabled -->
{{ if hugo.IsProduction }}
{{ if hasPrefix .Site.GoogleAnalytics "G-"}}
{{ template "_internal/google_analytics.html" . }}
{{ else }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
{{ template "_internal/google_analytics.html" . }}

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
Expand Down

0 comments on commit 9a96812

Please sign in to comment.