lib/nanoc/cli/commands/create-site.rb in nanoc-4.1.0a1 vs lib/nanoc/cli/commands/create-site.rb in nanoc-4.1.0b1
- old
+ new
@@ -122,22 +122,19 @@
#compile '/**/*.md' do
# filter :kramdown
# layout '/default.*'
#end
-compile '/**/*' do
-end
-
route '/**/*.{html,md}' do
if item.identifier =~ '/index.*'
'/index.html'
else
item.identifier.without_ext + '/index.html'
end
end
-route '/**/*' do
- item.identifier.to_s
+compile '/**/*' do
+ write item.identifier.to_s
end
layout '/**/*', :erb
EOS