File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
themes/startwords/layouts Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ params:
60
60
ISSN : 2694-2658
61
61
googleSiteVerification : pS2kpksxg6JeC90IvA8BHVsFuK_6b7J_vARVLqqu7ck
62
62
absoluteArticleLinks : false
63
+ plausible :
64
+ domain : startwords.cdh.princeton.edu
65
+ script : https://plausible.io/js/script.file-downloads.hash.outbound-links.js
66
+ notfound : true
67
+
63
68
64
69
defaultContentLang : en
65
70
Original file line number Diff line number Diff line change 73
73
< script defer src ="{{ $js.RelPermalink }} "> </ script >
74
74
{{- if hugo.IsProduction -}}
75
75
{{ partial "partials/google_analytics.html" . }}
76
+ {{ partial "partials/plausible_analytics.html" . }}
76
77
{{- end -}}
77
78
{{- if or (.HasShortcode "deepzoom") (isset .Page.Params "needs_deepzoom") }}{{/* include openseadragon when deepzoom shortcode is used or requested in page params */}}
78
79
< script defer src ="
https://cdn.jsdelivr.net/npm/[email protected] /build/openseadragon/openseadragon.min.js "
integrity ="
sha256-NMxPj6Qf1CWCzNQfKoFU8Jx18ToY4OWgnUO1cJWTWuw= "
crossorigin ="
anonymous "
> </ script >
Original file line number Diff line number Diff line change
1
+ {{- if isset site.Params "plausible" }}
2
+ {{/* plausible analytics */}}
3
+ < script defer data-domain ="{{ site.Params.plausible.domain }} " src ="{{ site.Params.plausible.script }} "> </ script >
4
+ {{- if isset site.Params.plausible "notfound" }}
5
+ < script > window . plausible = window . plausible || function ( ) { ( window . plausible . q = window . plausible . q || [ ] ) . push ( arguments ) } </ script >
6
+ {{- end }}
7
+ {{- end }}
You can’t perform that action at this time.
0 commit comments