Permalink
Browse files

docs

  • Loading branch information...
1 parent a233ca1 commit 3e06d3856aecbf197e7d4c6cbf8d01df228a195e @tj tj committed Sep 26, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −3 Readme.md
  2. +0 −2 examples/extend-layout.jade
View
@@ -635,7 +635,7 @@ JavaScript:
Jade supports template inheritance via the `block` and `extends` keywords. A block is simply a "block" of Jade that may be replaced within a child template, this process is recursive.
- Jade blocks (currently) expect default content, as shown below by the `block scripts`, `block content`, and `block foot` directives.
+ Jade blocks can provide default content if desired, however optional as shown below by `block scripts`, `block content`, and `block foot`.
```
html
@@ -645,8 +645,6 @@ html
script(src='/jquery.js')
body
block content
- h1 Default content
- p nothing exciting
block foot
#footer
p some footer content
@@ -5,8 +5,6 @@ html
script(src='/jquery.js')
body
block content
- h1 Default content
- p nothing exciting
block foot
#footer
p some footer content

0 comments on commit 3e06d38

Please sign in to comment.