mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
11 lines
336 B
Ruby
11 lines
336 B
Ruby
|
page "/fake.html", :proxy => "/real.html", :layout => false
|
||
|
|
||
|
ignore "/should_be_ignored.html"
|
||
|
page "/should_be_ignored2.html", :ignore => true
|
||
|
page "/target_ignore.html", :proxy => "/should_be_ignored3.html", :ignore => true
|
||
|
|
||
|
%w(one two).each do |num|
|
||
|
page "/fake/#{num}.html", :proxy => "/real/index.html" do
|
||
|
@num = num
|
||
|
end
|
||
|
end
|