mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 13:39:55 +03:00
Merge pull request #19 from vxnick/umami-for-production
Enable Umami analytics in Production only
Former-commit-id: 8ff754e94f
Former-commit-id: e6c07e51f3a31248e2d302ca2b8981fd9e9cf507
This commit is contained in:
commit
a0097939de
1 changed files with 2 additions and 1 deletions
|
@ -34,8 +34,9 @@
|
|||
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.umami.enable }}
|
||||
{{ partial "umami.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue