diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8c05f41..0eb6fcb 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -107,7 +107,8 @@ disableHugoGeneratorInject = false justifyContent = false # Set "text-align: justify" to .post-content. # Integrate Plausible.io - # plausible = 'test.com' + # plausibleDataDomain = 'test.com' + # plausibleScriptSource = 'https://plausible.io/js/script.js' # Custom footer # If you want, you can easily override the default footer with your own content. diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 91a712d..ff7b9b6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -72,6 +72,6 @@ {{- end}} -{{- if $.Site.Params.plausible }} - +{{- if $.Site.Params.plausibleDataDomain }} + {{- end}} \ No newline at end of file