Skip to content

Commit

Permalink
Needed to add this line, in order to get my Jade ContentPlugin working
Browse files Browse the repository at this point in the history
  • Loading branch information
smebberson committed Jul 9, 2012
1 parent bb52366 commit ee44c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ ContentTree = (filename) ->
Object.defineProperty @, 'filename',
get: -> filename
Object.defineProperty @, 'index',
get: -> @['index.md'] or @['index.markdown']
get: -> @['index.md'] or @['index.markdown'] or @['index.jade']

ContentTree.fromDirectory = (directory, base, callback) ->
if !callback?
Expand Down

0 comments on commit ee44c94

Please sign in to comment.