From 81baf8c47c3514a8ab37ae6e661e638135a00830 Mon Sep 17 00:00:00 2001 From: Capi Etheriel Date: Sat, 1 Mar 2014 15:19:38 -0300 Subject: [PATCH] Use no layouts for xml, json and txt by default --- middleman-cli/lib/middleman-cli/templates/shared/config.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/middleman-cli/lib/middleman-cli/templates/shared/config.tt b/middleman-cli/lib/middleman-cli/templates/shared/config.tt index f96e0a26..d154431c 100755 --- a/middleman-cli/lib/middleman-cli/templates/shared/config.tt +++ b/middleman-cli/lib/middleman-cli/templates/shared/config.tt @@ -14,7 +14,9 @@ # Per-page layout changes: # # 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 # page "/path/to/file.html", :layout => :otherlayout