allow a background image in examples.
This commit is contained in:
parent
d03cb28400
commit
e65516f99e
@ -12,12 +12,10 @@ compile '/assets/*/' do
|
|||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
compile '/examples/*/markup/' do
|
['/examples/*/markup/', '/examples/*/stylesheet/', '/examples/*/background/'].each do |ex_file|
|
||||||
|
compile ex_file do
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
compile '/examples/*/stylesheet/' do
|
|
||||||
nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
compile '/examples/*/' do
|
compile '/examples/*/' do
|
||||||
@ -63,12 +61,10 @@ route '/stylesheets/*/' do
|
|||||||
SITE_ROOT+item.identifier.chop + '.css'
|
SITE_ROOT+item.identifier.chop + '.css'
|
||||||
end
|
end
|
||||||
|
|
||||||
route '/examples/*/markup/' do
|
['/examples/*/markup/', '/examples/*/stylesheet/', '/examples/*/background/'].each do |ex_file|
|
||||||
|
route ex_file do
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
route '/examples/*/stylesheet/' do
|
|
||||||
nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
route '*' do
|
route '*' do
|
||||||
|
Loading…
Reference in New Issue
Block a user