Skip to content

Commit

Permalink
Played around at home
Browse files Browse the repository at this point in the history
  • Loading branch information
chiphogg committed Sep 7, 2012
1 parent 8df5586 commit 9739c35
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Rules
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ compile '*' do
if item.binary?
# don’t filter binary items
else
filter :erb
case item[:extension]
when 'haml'
filter :haml
raise "WTF?!"
when 'html'
filter :erb
end
layout 'default'
end
end
Expand All @@ -54,4 +60,4 @@ route '*' do
end
end

layout '*', :erb
layout '*', :haml, :format => :html5
1 change: 1 addition & 0 deletions lib/helpers.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include Nanoc::Helpers::LinkTo

0 comments on commit 9739c35

Please sign in to comment.