visionmedia/jade — Issue #443: includes and mixins
Author: sneakywombat
Created: 2011-12-19 23:42:13+00:00
State: open

This works:

```jade
extends ../base

block scripts
p foo

block content
include ../mixins/listview
mixin listview

```

This won't:

```jade
extends ../base
include ../mixins/listview

block scripts
p foo

block content
mixin listview

```

Note the placement of the include line. It seems to work only within a block statement. I'd expect it to work at the top, out of the block scope. I don't care either way, it was tough to figure it out though, took some trial and error for sure. It would be nice to have it work outside of the block scope. Your call though. Thanks for all your hard work!