mirror of
https://github.com/imfing/hextra.git
synced 2025-09-14 02:26:44 -04:00
chore: use with
This commit is contained in:
@@ -3,8 +3,6 @@ Umami Analytics
|
||||
https://umami.is/docs/tracker-configuration
|
||||
*/ -}}
|
||||
|
||||
{{- with .Site.Params.analytics.umami -}}
|
||||
|
||||
{{- if not .serverURL }}
|
||||
{{- errorf "Missing Umami 'serverURL' configuration. See https://imfing.github.io/hextra/versions/latest/docs/guide/configuration/#umami-analytics" -}}
|
||||
{{- end -}}
|
||||
@@ -54,4 +52,3 @@ https://umami.is/docs/tracker-configuration
|
||||
{{- end -}}
|
||||
|
||||
<script async defer {{ range $k, $v := ($attributes.Get "umami" ) }} {{ (printf `%s=%q` $k $v) | safeHTMLAttr }}{{- end -}}></script>
|
||||
{{- end -}}
|
||||
|
Reference in New Issue
Block a user