File: reference.jade

package info (click to toggle)
node-jade 1.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,984 kB
  • ctags: 315
  • sloc: makefile: 4
file content (35 lines) | stat: -rw-r--r-- 973 bytes parent folder | download
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.