You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dk...@apache.org on 2013/06/20 16:04:51 UTC

svn commit: r1495010 - /camel/website/template/template.camel

Author: dkulp
Date: Thu Jun 20 14:04:51 2013
New Revision: 1495010

URL: http://svn.apache.org/r1495010
Log:
Update the template to account for the new wiki's code format blocks

Modified:
    camel/website/template/template.camel

Modified: camel/website/template/template.camel
URL: http://svn.apache.org/viewvc/camel/website/template/template.camel?rev=1495010&r1=1495009&r2=1495010&view=diff
==============================================================================
--- camel/website/template/template.camel (original)
+++ camel/website/template/template.camel Thu Jun 20 14:04:51 2013
@@ -35,6 +35,21 @@
     </style>
     <![endif]-->
 
+
+#if($page.hasCode)
+  <link href='http://camel.apache.org/styles/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://camel,.apache.org/styles/highlighter/styles/shThemeEclipse.css' rel='stylesheet' type='text/css' />
+  <script src='http://camel.apache.org/styles/highlighter/scripts/shCore.js' type='text/javascript'></script>
+#foreach ($hscript in $page.CodeScripts)
+  <script src='http://camel.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 Camel: $page.title
     </title>