{{- if isset .Site.Params.plausible "analytics" }} {{- $_text := "plausible-hugo module : Upgrade your config.toml; You have trace of v1.0.0 in [params.plausible.analytics] : %s" }} {{- errorf $_text site.Params.plausible.analytics }} {{- end }} {{- if not (isset .Site.Params.plausible "domain") }} {{- $_text := "plausible-hugo module : Upgrade your config.toml; You need [params.plausible.domain] : %s" }} {{- errorf $_text "your-plausible-domain-id" }} {{- end }} {{- if isset .Site.Params.plausible "custom_js_domain" }} {{- $_text := "plausible-hugo module : `custom_js_domain` %s is now deprecated. Use `proxy_netlify` instead and follow instruction for easy setup." }} {{- warnf $_text site.Params.plausible.custom_js_domain }} {{- end }} {{- $_text := "" }} {{- printf $_text site.Params.plausible_version.id | safeHTML }}