]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs: move fathom site to hugo config (#39781)
authorXhmikosR <xhmikosr@gmail.com>
Wed, 13 Mar 2024 09:43:02 +0000 (11:43 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2024 09:43:02 +0000 (11:43 +0200)
hugo.yml
site/layouts/partials/analytics.html

index 17f8b7b6806e98c9ec39aa6f9e364ccc7c66d574..a6de700c0c4438f89eb7e2b0e7c05585eb1d3d68 100644 (file)
--- a/hugo.yml
+++ b/hugo.yml
@@ -67,6 +67,9 @@ params:
   icons:                "https://icons.getbootstrap.com/"
   swag:                 "https://cottonbureau.com/people/bootstrap"
 
+  analytics:
+    fathom_site:        "ITUSEYJG"
+
   download:
     source:             "https://github.com/twbs/bootstrap/archive/v5.3.3.zip"
     dist:               "https://github.com/twbs/bootstrap/releases/download/v5.3.3/bootstrap-5.3.3-dist.zip"
index dc918246d2d73d9a7a0922eed680c43936695c66..7bc14907bbe1ee06f74dacf59fe06f6bb8b9dbf0 100644 (file)
@@ -1 +1 @@
-<script defer src="https://cdn.usefathom.com/script.js" data-site="ITUSEYJG"></script>
+<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ .Site.Params.analytics.fathom_site }}"></script>