git: c0734eeb6f - main - Add Plausible Analytics to main site and docs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 May 2025 09:14:10 UTC
The branch main has been updated by dch:
URL: https://cgit.FreeBSD.org/doc/commit/?id=c0734eeb6fec397a75f0fcae0f42cc015c83b78a
commit c0734eeb6fec397a75f0fcae0f42cc015c83b78a
Author: Mark Phillips <mark@freebsdfoundation.org>
AuthorDate: 2025-05-13 09:12:55 +0000
Commit: Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2025-05-13 09:13:03 +0000
Add Plausible Analytics to main site and docs
Reviewed by: fernape, dch
With hat: core
Differential Revision: https://reviews.freebsd.org/D49757
---
documentation/themes/beastie/layouts/partials/site-head.html | 3 +++
website/themes/beastie/layouts/partials/site-head.html | 3 +++
2 files changed, 6 insertions(+)
diff --git a/documentation/themes/beastie/layouts/partials/site-head.html b/documentation/themes/beastie/layouts/partials/site-head.html
index 26e42f1982..c531d57d9e 100644
--- a/documentation/themes/beastie/layouts/partials/site-head.html
+++ b/documentation/themes/beastie/layouts/partials/site-head.html
@@ -69,6 +69,9 @@
</script>
<!-- END SEO -->
+ <!-- privacy-friendly web statistics -->
+ <script defer data-domain="freebsd.org" src="https://plausible.io/js/script.outbound-links.js"></script>
+
{{ end }}
</head>
diff --git a/website/themes/beastie/layouts/partials/site-head.html b/website/themes/beastie/layouts/partials/site-head.html
index 51937cce07..476d144e77 100644
--- a/website/themes/beastie/layouts/partials/site-head.html
+++ b/website/themes/beastie/layouts/partials/site-head.html
@@ -29,4 +29,7 @@
<meta property="og:site_name" content="{{ .Site.Title }}" />
<!-- END SEO -->
+ <!-- privacy-friendly web statistics -->
+ <script defer data-domain="freebsd.org" src="https://plausible.io/js/script.outbound-links.js"></script>
+
</head>