From f2d4b443f2100d8da961292ed4d104c93e29181c Mon Sep 17 00:00:00 2001 From: Tiago Lubiana Date: Mon, 23 Nov 2026 14:15:03 -0300 Subject: [PATCH] Add goatcounter analytics Pinned to recent version for security (SRI: subresource integrity). --- boilerplate/header.include | 1 + conf.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/boilerplate/header.include b/boilerplate/header.include index 7bd9e5008..ce2affc4c 100644 --- a/boilerplate/header.include +++ b/boilerplate/header.include @@ -6,6 +6,7 @@ [TITLE] +
diff --git a/conf.py b/conf.py index aec986d4b..ee7a7e1ef 100644 --- a/conf.py +++ b/conf.py @@ -96,6 +96,12 @@ html_js_files = [ "https://cdn.datatables.net/v/dt/dt-1.11.5/datatables.min.js", "main.js", + ("https://gc.zgo.at/count.v5.js", { + "async": "async", + "crossorigin": "anonymous", + "integrity": "sha384-atnOLvQb9t+jTSipvd75X2yginT4PjVbqDdlJAmxMm+wYElFmeR6EmLP5bYeoRVQ", + "data-goatcounter": "https://ome-zarr.goatcounter.com/count", + }), ] html_extra_path = [