Skip to content

Commit

Permalink
Address the deprecation notice enforced in Hugo v0.133.1 (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankslin authored Sep 3, 2024
1 parent 83f9372 commit 54e2875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/head_includes.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
to be used together. There may be situations where a organization support both tag methods simultaneously.
------------->
<!-- Check for the Global GoogleAnalytics variable to use the Hugo internal google_analytics template -->
{{ if .Site.GoogleAnalytics }} {{ template "_internal/google_analytics.html" . }} {{ end }}
{{ if .Site.Config.Services.GoogleAnalytics.ID }} {{ template "_internal/google_analytics.html" . }} {{ end }}
<!-- Check for googleAnalytics_UA param to use the google-analytics-ua partial -->
{{ if .Site.Params.googleAnalytics_UA }} {{ partial "google-analytics-ua.html" . }} {{ end }}

Expand Down Expand Up @@ -65,4 +65,4 @@
{{- else -}}
<link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{"episode/index.xml" | absURL }}"/>
{{- end -}}
{{ end }}
{{ end }}

0 comments on commit 54e2875

Please sign in to comment.