Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

72 lines (68 sloc) 2.364 kB
<!doctype html>
<html>
<head>
<title>Jade - Template Engine</title>
<link rel="stylesheet" href="public/stylesheets/style.css" />
</head>
<body>
<div id="container">
<a href="http://github.com/visionmedia/jade"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 50" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
<div id="header">
<h1>Jade</h1>
<div id="arrow"></div>
<span id="tagline">Node Template Engine</span>
<div id="apidocs"><a href="http://github.com/visionmedia/jade#readme">View Documentation</a></div>
<pre id="jade">
<code>
<span class="doctype">doctype</span> 5
<span class="tag">html</span>(<span class="key">lang</span>=<span class="val">"en"</span>)
<span class="tag">head</span>
<span class="tag">title</span><span class="text">= pageTitle</span>
<span class="filter">script(type='text/javascript')</span>
<span class="text">if (foo) {
bar()
}</span>
<span class="tag">body</span>
<span class="tag">h1</span> <span class="text">Jade - node template engine</span>
<span class="tag">#container</span>
if youAreUsingJade
p <span class="text">You are amazing</span>
else
p <span class="text">Get on it!</span>
</code>
</pre>
<pre id="html">
<code>
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;title&gt;Jade&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
if (foo) {
bar()
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;Jade - node template engine&lt;/h1&gt;
&lt;div id=&quot;container&quot;&gt;
&lt;p&gt;You are amazing&lt;/p&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code>
</pre>
</div>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25261536-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.