Add Umami analytics in production

Script injected via hugo.IsProduction guard so it's absent during
hugo server dev mode. Src and website-id stored in hugo.toml params.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-18 18:59:20 +02:00
parent da050dfd3c
commit bf3ccc6b9b
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -27,6 +27,8 @@ issueName = "Fabric, Light & Gesture"
issueSeason = "Spring MMXXVI"
issueBlurb = "The inaugural plates — one hundred photographs gathered across ateliers, streets, and quiet hotel corridors."
siteURL = "https://roux.pivoine.art"
umamiSrc = "https://umami.pivoine.art/script.js"
umamiId = "df675ca7-f82a-463b-89aa-f67c1f56ed68"
[markup.goldmark.renderer]
unsafe = true