Skip to content

Commit dc5fe4c

Browse files
committed
install plausible
1 parent 889b53f commit dc5fe4c

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ nav:
128128

129129
theme:
130130
name: material
131+
custom_dir: overrides
131132

132133
palette:
133134
# Palette toggle for light mode

overrides/main.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{% extends "base.html" %}
2+
3+
{% block extrahead %}
4+
{{ super() }}
5+
<script async src="https://plausible.io/js/pa-lwNV-Xv98z127JKeJhstz.js"></script>
6+
<script>
7+
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
8+
plausible.init()
9+
</script>
10+
{% endblock %}

0 commit comments

Comments
 (0)