aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2024-03-13 11:43:02 +0200
committerGitHub <[email protected]>2024-03-13 11:43:02 +0200
commit545a6500356f18d8425d94a0fddb66078f7b6d17 (patch)
tree69eccfbc80a08c0ea934b6a2a2030dbb840ed66a
parent3150c6985dcf3e5558788cfc89349293ce5ce992 (diff)
downloadbootstrap-545a6500356f18d8425d94a0fddb66078f7b6d17.tar.xz
bootstrap-545a6500356f18d8425d94a0fddb66078f7b6d17.zip
docs: move fathom site to hugo config (#39781)
-rw-r--r--hugo.yml3
-rw-r--r--site/layouts/partials/analytics.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/hugo.yml b/hugo.yml
index 17f8b7b68..a6de700c0 100644
--- 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"
diff --git a/site/layouts/partials/analytics.html b/site/layouts/partials/analytics.html
index dc918246d..7bc14907b 100644
--- a/site/layouts/partials/analytics.html
+++ b/site/layouts/partials/analytics.html
@@ -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>