activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1502531 - /activemq/activemq-website/template/template.vm
Date Fri, 12 Jul 2013 12:37:52 GMT
Author: dejanb
Date: Fri Jul 12 12:37:51 2013
New Revision: 1502531

URL: http://svn.apache.org/r1502531
Log:
fixing the code macro

Modified:
    activemq/activemq-website/template/template.vm

Modified: activemq/activemq-website/template/template.vm
URL: http://svn.apache.org/viewvc/activemq/activemq-website/template/template.vm?rev=1502531&r1=1502530&r2=1502531&view=diff
==============================================================================
--- activemq/activemq-website/template/template.vm (original)
+++ activemq/activemq-website/template/template.vm Fri Jul 12 12:37:51 2013
@@ -32,6 +32,20 @@
     </style>
     <![endif]-->
 
+    #if($page.hasCode) 
+      <link href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet'
type='text/css' /> 
+      <link href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css'
rel='stylesheet' type='text/css' /> 
+      <script src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>

+      #foreach ($hscript in $page.CodeScripts) 
+        <script src='http://activemq.apache.org/styles/highlighter/scripts/$hscript' type='text/javascript'></script>

+      #end 
+   
+      <script type="text/javascript"> 
+        SyntaxHighlighter.defaults['toolbar'] = false; 
+        SyntaxHighlighter.all(); 
+      </script> 
+    #end     
+
     <title>
     Apache ActiveMQ &#8482; -- $page.title
     </title>



Mime
View raw message