Merge pull request #1191 from barraponto/default_no_layout

Use no layouts for xml, json and txt by default
This commit is contained in:
Thomas Reynolds 2014-03-03 10:42:33 -10:00
commit ca45440ffe

View file

@ -14,7 +14,9 @@
# Per-page layout changes: # Per-page layout changes:
# #
# With no layout # With no layout
# page "/path/to/file.html", :layout => false page '/*.xml', layout: false
page '/*.json', layout: false
page '/*.txt', layout: false
# #
# With alternative layout # With alternative layout
# page "/path/to/file.html", :layout => :otherlayout # page "/path/to/file.html", :layout => :otherlayout