Skip to content

Commit 3fef9f8

Browse files
committed
add plausible analytics, closes #22
1 parent e149047 commit 3fef9f8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ dashboards:
5151
url: /pages/whats-left
5252
- title: Benchmarks
5353
url: /benchmarks
54+
- title: Website Analytics
55+
url: https://plausible.io/rustpython.github.io
5456

5557
# Build settings
5658
theme: minima

_includes/head.html

+5-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link defer async rel="stylesheet" href="{{ "/assets/style.css" | relative_url }}">
1212
<link defer async rel="stylesheet" href="{{ "/assets/media.css" | relative_url }}">
1313
<link defer async rel="stylesheet" href="{{ "/assets/github.css" | relative_url }}">
14-
14+
1515
<!-- webmanifest -->
1616
<link rel="manifest" href="{{site.baseurl}}/manifest.webmanifest">
1717

@@ -21,7 +21,8 @@
2121
<link rel="apple-touch-icon" href="{{site.baseurl}}/assets/apple-touch-icon.png">
2222

2323
{%- feed_meta -%}
24-
{%- if jekyll.environment == 'production' and site.google_analytics -%}
25-
{%- include google-analytics.html -%}
26-
{%- endif -%}
24+
25+
<!-- plausible analytics -->
26+
<script defer data-domain="rustpython.github.io" src="https://plausible.io/js/plausible.js"></script>
27+
2728
</head>

0 commit comments

Comments
 (0)