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 55cfc48 commit 9df5c79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/conf.py
Expand Up @@ -126,3 +126,9 @@ class TypealongDirective(_BaseCRDirective):
def setup(app):
for obj in DIRECTIVES:
app.add_directive(obj.cssname(), obj)

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/containers", "defer": "defer"}),
]

0 comments on commit 9df5c79

Please sign in to comment.