Skip to content

Commit

Permalink
Merge branch 'patrik-update-google-tag' into 'master'
Browse files Browse the repository at this point in the history
Install new google tag code

See merge request ikus-soft/rdiffweb!221
  • Loading branch information
ikus060 committed Jun 15, 2022
2 parents 00c05c5 + 4b83448 commit 8a6bd45
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions doc/_templates/layout.html
@@ -0,0 +1,12 @@
{% extends "!layout.html" %}
{% block extrahead %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q31WHWD1JS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-Q31WHWD1JS');
</script>
{% endblock %}
1 change: 0 additions & 1 deletion doc/conf.py
Expand Up @@ -50,7 +50,6 @@
html_theme = 'alabaster'
# Ref: https://alabaster.readthedocs.io/en/latest/customization.html#theme-options
html_theme_options = {
'analytics_id': 'UA-19546856-5',
'description': 'Rdiffweb documentation - A web interface for rdiff-backup',
'fixed_sidebar': True,
'caption_font_family': 'Lato,Helvetica,Arial,Verdana,sans-serif',
Expand Down

0 comments on commit 8a6bd45

Please sign in to comment.