Skip to content

Commit 5d78050

Browse files
committed
adding cfinsights
1 parent 45285b9 commit 5d78050

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/config/_default/params.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ lqipWidth = "20x"
4848
# Footer
4949
footer = "Powered by <a href=\"https://gohugo.io/\">Hugo</a> and <a href=\"https://getdoks.org/\">Doks</a>"
5050
copyRight = "Copyright (c) 2021 Amazon"
51+
cloudflareToken: "3a362beadddb423a87cf9174ed4c0a20"
5152

5253
# Alert
5354
alert = true
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
<div class="alert alert-primary fixed-bottom text-center" role="alert">
22
{{ .Site.Params.alertText | safeHTML }}
3-
</div>
3+
</div>
4+
<script
5+
defer
6+
src='https://static.cloudflareinsights.com/beacon.min.js'
7+
data-cf-beacon='{"token": "{{ .Site.Params.cloudflareToken }}"}'
8+
></script>

0 commit comments

Comments
 (0)