Permalink
Browse files

Load syntax highlighting last

  • Loading branch information...
1 parent e77f714 commit 63b7dd2acb0d7fe8ef6937300883d71edaeadb0f @abh abh committed Sep 19, 2012
Showing with 10 additions and 7 deletions.
  1. +10 −7 docs/shared/tpl/style/leo.html
@@ -16,8 +16,6 @@
[% IF site.syntaxhighlight %]
<link rel="stylesheet" title="perl" type="text/css" href="[% combust.static_url("/css/shCore.css") %]" media="all" />
<link rel="stylesheet" title="perl" type="text/css" href="[% combust.static_url("/css/shThemeDefault.css") %]" media="all" />
- <script type="text/javascript" charset="utf-8" src="[% combust.static_url("/js/shCore.js") %]"></script>
- <script type="text/javascript" charset="utf-8" src="[% combust.static_url("/js/shBrushPerl.js") %]"></script>
[% END %]
[%
@@ -32,11 +30,7 @@
<script src="[% combust.static_url("/js/jquery.corner.js") %]" type="text/javascript" charset="utf-8"></script>
<script src="[% combust.static_url("/js/leo.js") %]" type="text/javascript" charset="utf-8"></script>
-[% IF site.syntaxhighlight %]
- <script type="text/javascript" charset="utf-8">
- SyntaxHighlighter.all();
- </script>
-[% END %]
+[% page.morehead %]
</head>
<body[% ' class="section_' _ page.section _ '"' IF page.section %]>
@@ -140,5 +134,14 @@ <h1>
[% PROCESS "tpl/ie6nomore.html" -%]
[%- PROCESS "tpl/googleanalytics.html" -%]
+
+[% IF site.syntaxhighlight %]
+ <script type="text/javascript" charset="utf-8" src="[% combust.static_url("/js/shCore.js") %]"></script>
+ <script type="text/javascript" charset="utf-8" src="[% combust.static_url("/js/shBrushPerl.js") %]"></script>
+ <script type="text/javascript" charset="utf-8">
+ SyntaxHighlighter.all();
+ </script>
+[% END %]
+
</body>
</html>

0 comments on commit 63b7dd2

Please sign in to comment.