Switch to the Jaguar theme

In addition to a nicer layout, this adds a searchable sidebar
and a source code viewer.
This commit is contained in:
Andreas Hocevar
2014-05-06 12:46:59 -05:00
parent e6dbb61d68
commit e2c9dd279d
37 changed files with 1814 additions and 702 deletions
+5
View File
@@ -5,7 +5,12 @@
?>
<p class="code-caption"><?js= example.caption ?></p>
<?js } ?>
<?js if (example.code.toString().indexOf('<pre>') === -1) { ?>
<pre class="prettyprint"><code><?js= example.code ?></code></pre>
<?js } else { ?>
<?js= example.code.replace(/<pre>/g, '<pre class="prettyprint">') ?>
<?js } ?>
<?js
});
?>