Files
docker-docs/layouts
David KarlssonandClaude Sonnet 4.6 28ca826bf1 analytics: fix Marlin endpoint URL double-encoding in head.html
Hugo's html/template JS-escapes string values inside <script> blocks.
Calling jsonify per-field produced quoted strings like "https://..."
which were then re-escaped, embedding literal quote characters in the
endpoint value passed to the SDK.

Fix by jsonifying the whole config dict at once and marking it safeJS
so html/template does not apply a second round of escaping.

Also extract the environment ternary out of the Marlin constructor call
for readability.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 15:42:49 +02:00
..
…
2026-02-23 17:29:32 +01:00
2026-02-23 17:29:32 +01:00
2026-02-23 17:29:32 +01:00
2026-02-23 17:29:32 +01:00