You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bo...@apache.org on 2014/02/15 21:57:19 UTC

svn commit: r1568676 - /tapestry/tapestry-site/trunk/template/template.vm

Author: bobharner
Date: Sat Feb 15 20:57:19 2014
New Revision: 1568676

URL: http://svn.apache.org/r1568676
Log:
Fixed HTTP/HTTPS mixed media bug by changing SiteExporter template to use our own copies of SyntaxHighlighter JavaScript & CSS files

Modified:
    tapestry/tapestry-site/trunk/template/template.vm

Modified: tapestry/tapestry-site/trunk/template/template.vm
URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/trunk/template/template.vm?rev=1568676&r1=1568675&r2=1568676&view=diff
==============================================================================
--- tapestry/tapestry-site/trunk/template/template.vm (original)
+++ tapestry/tapestry-site/trunk/template/template.vm Sat Feb 15 20:57:19 2014
@@ -31,11 +31,11 @@
 
 #if($page.hasCode)
   ## Link directly to Apache CXF site's CSS files for SyntaxHighlighter:
-  <link href='http://cxf.apache.org/resources/highlighter/styles/shCoreCXF.css' rel='stylesheet' type='text/css' />
-  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
-  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <link href='/resources/highlighter/styles/shCoreCXF.css' rel='stylesheet' type='text/css' />
+  <link href='/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
 #foreach ($hscript in $page.CodeScripts)
-  <script src='http://cxf.apache.org/resources/highlighter/scripts/$hscript' type='text/javascript'></script>
+  <script src='/resources/highlighter/scripts/$hscript' type='text/javascript'></script>
 #end
   <script type="text/javascript">
   SyntaxHighlighter.defaults['toolbar'] = false;