Skip to content

Commit

Permalink
Add changes to public website
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivoz committed Sep 28, 2013
1 parent 3b96802 commit 92ae6d9
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 12 deletions.
2 changes: 1 addition & 1 deletion public/stylesheets/all.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion reference/index.html
Expand Up @@ -85,7 +85,7 @@
<span class="tag">&lt;<span class="title">h2</span>&gt;</span>Description<span class="tag">&lt;/<span class="title">h2</span>&gt;</span>
<span class="tag">&lt;<span class="title">p</span> <span class="attribute">class</span>=<span class="value">"description"</span>&gt;</span>foo bar baz<span class="tag">&lt;/<span class="title">p</span>&gt;</span>
<span class="tag">&lt;/<span class="title">div</span>&gt;</span>
</code></pre></div></div><p>Jade also provides a negated version <code>unless</code> (the following are therefore equivallent):</p><div class="row"><div class="col"><pre><code>unless user.isAnonymous
</code></pre></div></div><p>Jade also provides a negated version <code>unless</code> (the following are therefore equivalent):</p><div class="row"><div class="col"><pre><code>unless user.isAnonymous
<span class="tag">p</span> You're logged in as #{user.name}</code></pre></div><div class="col"><pre><code><span class="keyword">if</span> !user.isAnonymous
<span class="tag">p</span> You're logged in as #{user.name}</code></pre></div></div><h3>Iteration</h3><p>Jade's first-class iteration syntax makes it easier to iterate over arrays and objects within a template:</p><div data-control="interactive" class="row"><div class="col"><pre data-control="input-jade"><code><span class="tag">ul</span>
<span class="each">each val in [1, 2, 3, 4, 5]</span>
Expand Down

0 comments on commit 92ae6d9

Please sign in to comment.