diff options
| author | Xiao Meng <novoreorx@gmail.com> | 2024-09-08 14:49:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-08 14:49:40 +0800 |
| commit | 5ef24244d233f316e6ea4f5402723090548f4d04 (patch) | |
| tree | 5a887a147caad078ba351730f193fc8e9ee92ca2 | |
| parent | b787253f7b03d27c7939f919559d726eec90416f (diff) | |
| parent | 2536b3aabb719711213a60812032ce30f9a6b3d0 (diff) | |
Merge pull request #68 from ranshers/ga-fix
changed layouts/partials/head.html for fix for Google analytics change
| -rw-r--r-- | layouts/partials/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6f36fbe..d4ab16f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -74,7 +74,7 @@ {{- /* Misc */}} {{- if hugo.IsProduction | or (eq site.Params.env "production") }} - {{- if site.GoogleAnalytics }} + {{- if .Site.Config.Services.GoogleAnalytics.ID }} {{- template "_internal/google_analytics.html" . }} {{- end -}} {{- if site.Params.useCustomAnalytics }} |
