Update Disqus & GoogleAnalytics

Signed-off-by: GitHub Action <action@github.com>
This commit is contained in:
GitHub Action
2024-03-13 16:13:29 +00:00
parent 8f06b17057
commit 6cbe854b97
3 changed files with 11 additions and 5 deletions

View File

@ -1,2 +1,4 @@
{{/* Google Analytics 4, use UA-PROPERTY_ID */}}
{{ template "_internal/google_analytics.html" . }}
{{- if (or .Site.Config.Services.GoogleAnalytics.ID .Site.googleAnalytics) -}}
{{ template "_internal/google_analytics.html" . }}
{{- end -}}

View File

@ -1,3 +1,4 @@
{{- if .Site.DisqusShortname }}
{{- if (or Site.Config.Services.Disqus.Shortname .Site.DisqusShortname) -}}
{{ template "_internal/disqus.html" . }}
{{- end }}
{{- end -}}