Skip to content

Commit

Permalink
add analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
markgoho authored Mar 7, 2024
1 parent 9c0e674 commit 9810584
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hugo/hugo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'Amazing Oregon Trail Camporee'
publishDir = '../public'
publishDir = '../public'
disableHugoGeneratorInject = true
7 changes: 7 additions & 0 deletions hugo/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
{{ $style := resources.Get "styles.scss" | resources.ToCSS $options | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />

<script
defer
src="https://api.pirsch.io/pirsch.js"
id="pirschjs"
data-code="GBniHUWpSMhpg3klDWqzDqLTo90bPitR"
></script>

<!-- Extras -->
{{ block "scripts" . }}
{{ end }}
Expand Down

0 comments on commit 9810584

Please sign in to comment.