Merge pull request #1191 from barraponto/default_no_layout
Use no layouts for xml, json and txt by default
This commit is contained in:
commit
ca45440ffe
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue