Skip to content

Commit

Permalink
Add Cloudflare Web Analytics to docs site (#3896)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnorth committed Mar 19, 2021
1 parent 57ce0c4 commit a406f04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/theme/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{% extends "base.html" %}

{% block analytics %}
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "e44a95720257486eab94698a6b4c6ca6"}'></script><!-- End Cloudflare Web Analytics -->
{% endblock %}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins:
- markdownextradata
theme:
name: 'material'
custom_dir: 'docs/theme'
palette:
primary: 'blue'
accent: 'teal'
Expand Down

0 comments on commit a406f04

Please sign in to comment.