Skip to content

Commit

Permalink
Merge pull request #68 from deining/fix-deprecation-warning
Browse files Browse the repository at this point in the history
Fix deprecation warning
  • Loading branch information
thingsym authored Mar 31, 2024
2 parents d0bd2d8 + 5cec52d commit efa9d44
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/meta/google-analytics-async.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Site.IsServer -}}
{{- if hugo.IsServer -}}
<!-- only production, not generate Google Analytics with Hugo’s built-in server -->
{{- else -}}
{{- with .Site.Params.google_analytics_id -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/meta/google-site-verification.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Site.IsServer -}}
{{- if hugo.IsServer -}}
<!-- only production, not generate google-site-verification with Hugo’s built-in server -->
{{- else -}}
{{- if .IsHome -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/meta/tag-manager.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Site.IsServer -}}
{{- if hugo.IsServer -}}
<!-- only production, not generate Tag Manager with Hugo’s built-in server -->
{{- else -}}
{{- with .Site.Params.tag_manager_container_id -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/prepend-body.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if .Site.IsServer }}
{{ if hugo.IsServer }}
<!-- only production, not generate Google Analytics with Hugo’s built-in server -->
{{ else }}
{{- with .Site.Params.tag_manager_container_id -}}
Expand Down

0 comments on commit efa9d44

Please sign in to comment.