fix: Use .Site.Config.Services.GoogleAnalytics.ID instead. (#1348)

* fix: Use .Site.Config.Services.GoogleAnalytics.ID instead.

Signed-off-by: Anush008 <anushshetty90@gmail.com>

* chore: Updated config.toml

Signed-off-by: Anush008 <anushshetty90@gmail.com>

---------

Signed-off-by: Anush008 <anushshetty90@gmail.com>
This commit is contained in:
Anush
2024-12-13 18:36:56 +05:30
committed by GitHub
parent 0369b3cead
commit c8c9b91f1a
5 changed files with 15 additions and 13 deletions
@@ -21,7 +21,7 @@
</ul>
<div class="divider pt-2 mb-3"></div>
{{ if (and (not .Params.hide_feedback) (.Site.Params.feedback.enable) (.Site.GoogleAnalytics)) }}
{{ if (and (not .Params.hide_feedback) (.Site.Params.feedback.enable) (.Site.Config.Services.GoogleAnalytics.ID)) }}
{{ partial "feedback.html" . -}}
{{ end }}
</div>