diff options
| author | Rasmus Dahlberg <rasmus@rgdd.se> | 2026-10-27 11:53:26 +0100 |
|---|---|---|
| committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2026-10-27 11:55:58 +0100 |
| commit | 0b466d4a22bf8821e8dfc102bb31b1bd580e96c7 (patch) | |
| tree | 974b359a039ac886382be71eeb920dc138a8e292 /layouts/partials | |
| parent | 95a1d9ba46b115f67da1dd2682bec85431f3a792 (diff) | |
Fix .Site.IsServer with hugo.IsServermain
Requested by Al, thanks. Note that this has also been fixed in
the upstream theme, but this fork had not applied the fix yet.
Diffstat (limited to 'layouts/partials')
| -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 0e97a2c..653327e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,7 +21,7 @@ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} - {{ if not .Site.IsServer }} + {{ if not hugo.IsServer }} {{ template "_internal/google_analytics.html" . }} {{ end }} </head> |
