diff --git a/exampleSite/config.toml b/exampleSite/config.toml index afec38b..0eb6fcb 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -106,6 +106,10 @@ disableHugoGeneratorInject = false # justifyContent = false # Set "text-align: justify" to .post-content. + # Integrate Plausible.io + # 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 d471874..ff7b9b6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -70,3 +70,8 @@ {{- if .Site.GoogleAnalytics }} {{ template "_internal/google_analytics.html" . }} {{- end}} + + +{{- if $.Site.Params.plausibleDataDomain }} + +{{- end}} \ No newline at end of file