Mathieu Vo-Quang
unread,Oct 5, 2011, 12:10:02 PM10/5/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to middleman-users
Hi all,
In my config.rb file, I have the following:
page "/en/*", :layout => :layout_en
So every page within the /en/ directory uses a different layout,
layout_en.html, than the default layout.haml
Everything works fine when previewing, but when I build my project,
all generated files use the alternate layout only.
I've tried
page "/en/*", :layout => :layout_en
and
page "/en/*", :layout => "layout_en"
Thanks
Matt