Skip to content

Commit

Permalink
add plausible integration
Browse files Browse the repository at this point in the history
  • Loading branch information
wikfeldt committed Apr 27, 2023
1 parent bede0d9 commit 1010230
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions content/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,10 @@ def setup(app):
for obj in DIRECTIVES:
app.add_directive(obj.get_cssname(), obj)
app.add_css_file("overrides.css")

import os
if os.environ.get('GITHUB_REF', '') == 'refs/heads/main':
html_js_files = [
('https://plausible.io/js/script.js', {"data-domain": "enccs.github.io/intermediate-mpi", "defer": "\
defer"}),
]

0 comments on commit 1010230

Please sign in to comment.