jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r612189 - in /jackrabbit/trunk/jackrabbit-site: pom.xml src/site/resources/css/maven-base.css src/site/resources/images/logos/maven-feather.png src/site/templates/ src/site/templates/site.vm
Date Tue, 15 Jan 2008 18:49:48 GMT
Author: jukka
Date: Tue Jan 15 10:49:46 2008
New Revision: 612189

URL: http://svn.apache.org/viewvc?rev=612189&view=rev
Log:
JCR-1315: Add Google Analytics to Jackrabbit web site

Added:
    jackrabbit/trunk/jackrabbit-site/src/site/resources/css/maven-base.css
      - copied unchanged from r612187, maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/css/maven-base.css
    jackrabbit/trunk/jackrabbit-site/src/site/resources/images/logos/maven-feather.png
      - copied unchanged from r612187, maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/images/logos/maven-feather.png
    jackrabbit/trunk/jackrabbit-site/src/site/templates/
    jackrabbit/trunk/jackrabbit-site/src/site/templates/site.vm
      - copied, changed from r612184, maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
Modified:
    jackrabbit/trunk/jackrabbit-site/pom.xml

Modified: jackrabbit/trunk/jackrabbit-site/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-site/pom.xml?rev=612189&r1=612188&r2=612189&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-site/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-site/pom.xml Tue Jan 15 10:49:46 2008
@@ -35,4 +35,16 @@
   <name>Jackrabbit web site</name>
   <description>Jackrabbit web site</description>
 
+  <build>
+    <plugins>
+      <plugin>
+       <artifactId>maven-site-plugin</artifactId>
+       <configuration>
+         <templateDirectory>${basedir}/src/site/templates</templateDirectory>
+         <template>site.vm</template>
+       </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>

Copied: jackrabbit/trunk/jackrabbit-site/src/site/templates/site.vm (from r612184, maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm)
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-site/src/site/templates/site.vm?p2=jackrabbit/trunk/jackrabbit-site/src/site/templates/site.vm&p1=maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm&r1=612184&r2=612189&rev=612189&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm
(original)
+++ jackrabbit/trunk/jackrabbit-site/src/site/templates/site.vm Tue Jan 15 10:49:46 2008
@@ -371,5 +371,15 @@
         <hr/>
       </div>
     </div>
+<!-- JCR-1315: Add Google Analytics to Jackrabbit web site -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+var pageTracker = _gat._getTracker("UA-837900-2");
+pageTracker._initData();
+pageTracker._trackPageview();
+</script>
   </body>
 </html>



Mime
View raw message