Skip to content

Commit

Permalink
fix(google-analytics): drop the deprecated template
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Oct 29, 2023
1 parent 581f060 commit 7e98469
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions layouts/partials/assets/google-analytics.html
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
{{- if hasPrefix .Site.GoogleAnalytics "G-" -}}
{{- template "_internal/google_analytics.html" . -}}
{{- else -}}
{{- template "_internal/google_analytics_async.html" . -}}
{{- end -}}
{{- template "_internal/google_analytics.html" . -}}

0 comments on commit 7e98469

Please sign in to comment.