You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by de...@apache.org on 2013/07/12 14:37:52 UTC

svn commit: r1502531 - /activemq/activemq-website/template/template.vm

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>