You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2022/01/27 20:10:54 UTC

[hop-website] branch master updated: Add plausible

This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop-website.git


The following commit(s) were added to refs/heads/master by this push:
     new dc66aba  Add plausible
     new 806242b  Merge pull request #117 from hansva/master
dc66aba is described below

commit dc66abab7640abcbd90f591524c1fc108c041cc9
Author: Hans Van Akelyen <ha...@gmail.com>
AuthorDate: Thu Jan 27 21:09:17 2022 +0100

    Add plausible
---
 antora-ui-hop/src/partials/footer-scripts.hbs | 1 +
 layouts/partials/footer.html                  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/antora-ui-hop/src/partials/footer-scripts.hbs b/antora-ui-hop/src/partials/footer-scripts.hbs
index 0ecf947..92a48a4 100644
--- a/antora-ui-hop/src/partials/footer-scripts.hbs
+++ b/antora-ui-hop/src/partials/footer-scripts.hbs
@@ -27,4 +27,5 @@ search.on('autocomplete:closed', function () { search.autocomplete.setVal() })
 function focusSearchInput () { document.querySelector('#search-input').focus() }
 if (document.querySelector('.home-link.is-current')) window.addEventListener('load', focusSearchInput)
 </script>
+<script defer data-domain="hop.apache.org" src="https://plausible.io/js/plausible.js"></script>
 
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 5efe92a..045fde3 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -56,6 +56,7 @@
     function focusSearchInput () { document.querySelector('#search-input').focus() }
     if (document.querySelector('.home-link.is-current')) window.addEventListener('load', focusSearchInput)
     </script>
+    <script defer data-domain="hop.apache.org" src="https://plausible.io/js/plausible.js"></script>
     {{ partial "seo/main" . }}
 
 </body>