Update Rule to build .erb
This commit is contained in:
parent
b2c08ae4a5
commit
d57e9660ac
1 changed files with 6 additions and 1 deletions
7
Rules
7
Rules
|
@ -47,9 +47,14 @@ compile '/stylesheets/*.{sass,scss}' do
|
||||||
write ext: 'css'
|
write ext: 'css'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
compile '/*.erb' do
|
||||||
|
write item.identifier.without_ext
|
||||||
|
end
|
||||||
|
|
||||||
|
layout '/**/*', :erb
|
||||||
|
|
||||||
# Catch-all
|
# Catch-all
|
||||||
compile '/**/*' do
|
compile '/**/*' do
|
||||||
write item.identifier.to_s
|
write item.identifier.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
layout '/**/*', :erb
|
|
||||||
|
|
Loading…
Reference in a new issue