diff templates/template.html @ 12:510ba33d678c

Patch irccd on the fly
author David Demelier <markand@malikania.fr>
date Tue, 23 Feb 2016 15:40:48 +0100
parents 1b6953be3a7b
children cc368e32db24
line wrap: on
line diff
--- a/templates/template.html	Tue Feb 23 09:53:43 2016 +0100
+++ b/templates/template.html	Tue Feb 23 15:40:48 2016 +0100
@@ -13,10 +13,7 @@
     <!-- CSS -->
     <link href="$baseurl$/css/bootstrap.min.css" rel="stylesheet">
     <link href="$baseurl$/css/tomorrow.css" rel="stylesheet">
-
-$if(web)$
     <link href="$baseurl$/css/irccd.css" rel="stylesheet">
-$endif$
 
 $if(doc)$
     <link href="$baseurl$/css/doc.css" rel="stylesheet">
@@ -34,7 +31,6 @@
   </head>
 
   <body>
-$if(web)$
     <nav class="navbar navbar-fixed-top navbar-inverse">
       <div class="container">
         <div class="navbar-header">
@@ -69,7 +65,6 @@
      </div>
     </div>
 $endif$ <!-- ! endif home -->
-$endif$ <!-- ! endif web -->
 
 $if(doc)$
 <div class="container-fluid">
@@ -163,7 +158,7 @@
         <h2>Synopsis</h2>
 
         <!-- Javascript function signature -->
-        <pre class="sourceCode javascript">$synopsis$</pre>
+        <pre><code class="javascript">$synopsis$</code></pre>
 $endif$ <!-- endif synopsis -->
 
         <!-- Arguments -->
@@ -216,11 +211,7 @@
     <!-- Placed at the end of the document so the pages load faster -->
     <script src="$baseurl$/js/jquery.min.js"></script>
     <script src="$baseurl$/js/bootstrap.min.js"></script>
-
-$if(web)$
     <script src="$baseurl$/js/joke.js"></script>
-$endif$
-
     <script src="$baseurl$/js/highlight.js"></script>
     <script>hljs.initHighlightingOnLoad();</script>
     <script>jQuery("table").addClass("table");</script>