Skip to content

Commit

Permalink
add Umami analytics (#15)
Browse files Browse the repository at this point in the history
This requires using a fork of the theme, since
imfing/hextra#328 isn't merged yet.
  • Loading branch information
marten-seemann authored Mar 27, 2024
1 parent fa710c3 commit e331f67
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ module github.com/quic-go/docs

go 1.22.0

// Using the fork is only needed until the PR adding support for Umami is merged:
// https://github.com/imfing/hextra/pull/328
replace github.com/imfing/hextra => github.com/marten-seemann/hextra v0.0.0-20240321085151-430a25fbf9d1

require github.com/imfing/hextra v0.7.3 // indirect
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/imfing/hextra v0.7.3 h1:dVGA1NTcWe+FaUMdrawEypPfrrmulq5NoK0we3nC330=
github.com/imfing/hextra v0.7.3/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=
github.com/marten-seemann/hextra v0.0.0-20240321085151-430a25fbf9d1 h1:GexfSlfqrqx3u/MS8P03u8KjaWMAfH23Afk63MhINJ8=
github.com/marten-seemann/hextra v0.0.0-20240321085151-430a25fbf9d1/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=
4 changes: 4 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ params:
editURL:
enable: true
base: "https://github.com/quic-go/docs/tree/master/content"
umami:
serverURL: "analytics.seemann.io"
id: "c8e5d798-f535-4fea-906f-93da2e05a771"
trackerScriptName: "script.js"

0 comments on commit e331f67

Please sign in to comment.