Skip to content

Commit

Permalink
Move fathom site to hugo config (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Mar 14, 2024
1 parent 131e595 commit 15bd1b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ params:
opencollective: "https://opencollective.com/bootstrap"
swag: "https://cottonbureau.com/people/bootstrap"

analytics:
fathom_site: "ITUSEYJG"

# This is currently used by Hugo's internal twitter_cards.html and opengraph.html templates;
# the first image in the following array is always used, unless specified in the front matter
images:
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/partials/analytics.html
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 15bd1b1

Please sign in to comment.