templates/nanoc/Rules in origen-0.0.4 vs templates/nanoc/Rules in origen-0.0.5
- old
+ new
@@ -34,17 +34,14 @@
default_colorizer: :coderay,
coderay: {css: :style}
filter :codeblocks
end
unless ["xml", "js"].include?(item[:extension])
- if item[:layout] == "bootstrap"
+ if item[:layout] == "bootstrap" || item[:layout] == "bootstrap3" || !item[:layout]
filter :bootstrap
layout 'bootstrap'
- elsif item[:layout] == "bootstrap3"
- filter :bootstrap
- layout 'bootstrap3'
- elsif item[:layout] != "none"
- layout 'freescale'
+ else
+ fail "Unknown web page layout: #{item[:layout]}"
end
filter :search
end
if item[:zip] || item[:gzip]
filter :gzip