This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-site.git
The following commit(s) were added to refs/heads/master by this push:
new 6f49c89 fix site version
6f49c89 is described below
commit 6f49c89a4f05c5195127f433cfd5d9285af72f0b
Author: Olivier Lamy <[email protected]>
AuthorDate: Thu Apr 14 16:34:16 2022 +1000
fix site version
Signed-off-by: Olivier Lamy <[email protected]>
---
pom.xml | 2 ++
src/site/site.xml | 28 +++++++++++++++++-----------
2 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5e92602..9f499bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,6 +94,8 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
+ <!-- upgrade version fail with adoc -->
+ <version>3.7.1</version>
<configuration>
<skipDeploy>true</skipDeploy>
<asciidoc>
diff --git a/src/site/site.xml b/src/site/site.xml
index 8a3f549..32ca1a6 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -60,18 +60,24 @@
<head>
<!-- The font-awesome is used by asciidoc -->
<![CDATA[ <link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">]]>
- <!-- Google Analytics -->
+ <!-- Matomo -->
<![CDATA[
- <!-- Google Analytics -->
- <script src='//www.google-analytics.com/analytics.js'></script>
- <script>
-
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
-
- ga('create', 'UA-140879-5', 'auto');
- ga('send', 'pageview');
-
- </script>
- ]]>
+<script>
+ var _paq = window._paq = window._paq || [];
+ /* tracker methods like "setCustomDimension" should be called before
"trackPageView" */
+ /* We explicitly disable cookie tracking to avoid privacy issues */
+ _paq.push(['disableCookies']);
+ _paq.push(['trackPageView']);
+ _paq.push(['enableLinkTracking']);
+ (function() {
+ var u="//analytics.apache.org/";
+ _paq.push(['setTrackerUrl', u+'matomo.php']);
+ _paq.push(['setSiteId', '10']);
+ var d=document, g=d.createElement('script'),
s=d.getElementsByTagName('script')[0];
+ g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+ })();
+</script>
+<!-- End Matomo Code -->]]>
</head>
<menu name="Introduction">
<item name="About" href="/index.html" />