Open maco opened 6 months ago
I noticed my Plausible Analytics code wasn't showing up. After investigating, I found that
{{- $analytics := .Scratch.Get "analytics" | default dict -}}
was returning [] instead of the actual values found inside .Site.Params.analytics
[]
.Site.Params.analytics
This change makes the analytics snippet appear on my site.
Kudos, no new issues were introduced!
0 New issues 0 Security Hotspots No data about Coverage 0.0% Duplication on New Code
See analysis details on SonarCloud
I noticed my Plausible Analytics code wasn't showing up. After investigating, I found that
was returning
[]
instead of the actual values found inside.Site.Params.analytics
This change makes the analytics snippet appear on my site.