Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #51 from Sharpie/patch-1
Browse files Browse the repository at this point in the history
Add `file` tag for Mustache layouts
  • Loading branch information
mikewest committed Jun 12, 2011
2 parents a175735 + 4f81074 commit dde147a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rocco/layout.rb
Expand Up @@ -15,6 +15,10 @@ def title
File.basename(@doc.file)
end

def file
@doc.file
end

def sections
num = 0
@doc.sections.map do |docs,code|
Expand Down

0 comments on commit dde147a

Please sign in to comment.