1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
extends ./layout.jade
block content
mixin link(name)
- var id = name.replace(/ /g, '-')
li(class=(id === currentDocumentation ? 'active' : false))
a(href=path('/reference/' + id))= name
.row
.col-md-2
ul.nav.nav-pills.nav-stacked
+link('attributes')
+link('case')
+link('code')
+link('comments')
+link('conditionals')
+link('doctype')
+link('extends')
+link('filters')
+link('includes')
+link('iteration')
+link('mixins')
+link('plain text')
+link('tags')
.col-md-10
block documentation
h1 Language Reference
p.
Jade is a terse language for writing HTML templates.
ul
li Produces HTML
li Supports dynamic code
li Supports reusability (DRY)
p.
To read about the features of the language, select them from
the navigation menu on the right.
|