Skip to content

Commit e5bfbe2

Browse files
authored
Move plausible script to site-wide header
1 parent 5c4bc59 commit e5bfbe2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

_includes/page-header.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ <h1>{{ include.title }}</h1>
1414
anchors.add();
1515
});
1616
</script>
17-
<script defer data-domain="jupyter.org" src="https://plausible.io/js/script.hash.outbound-links.js"></script>
1817
</header>

_layouts/default.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@
7373
<link rel="apple-touch-icon" sizes="167x167" href="/assets/favicons/apple-touch-icon-167x167.png">
7474
<link rel="me" href="https://hachyderm.io/@ProjectJupyter">
7575
<script>console.log('Welcome to Project Jupyter! Explore the various tools available and their corresponding documentation. If you are interested in contributing to the platform, please visit the community resources section at https://jupyter.org/community.html.')</script>
76+
<!-- Plausible script for web analytics -->
77+
<script defer data-domain="jupyter.org" src="https://plausible.io/js/script.hash.outbound-links.js"></script>
7678
</head>
7779
<body>
7880
<nav class="navbar">

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
<div class="jumbotron-text">{{ page.jumbotron.text }}</div>
294294
</div>
295295
</div>
296-
</div>
296+
</div>
297297
</header>
298298

299299
<article>

0 commit comments

Comments
 (0)