feat: googleAnalytics
This commit is contained in:
parent
fc83e3314e
commit
14d0777437
4 changed files with 15 additions and 3 deletions
|
@ -103,8 +103,8 @@
|
|||
<meta property="article:tag" content="">
|
||||
<meta property="article:publisher" content="https://www.facebook.com/XXX"> -->
|
||||
|
||||
{{ if and (.Site.GoogleAnalytics) (hugo.IsProduction) }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ if (.Site.Params.GoogleAnalytics.enabled) }}
|
||||
{{ partial "google_analytics.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if (.Site.Params.UmamiAnalytics.enabled ) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue