middleman/middleman-core/fixtures/clean-app/config.rb

10 lines
287 B
Ruby
Raw Normal View History

2014-07-08 04:43:22 +02:00
proxy "/fake.html", "/real.html", layout: false
ignore "/should_be_ignored.html"
ignore "/should_be_ignored2.html"
proxy "/target_ignore.html", "/should_be_ignored3.html", ignore: true
%w(one two).each do |num|
proxy "/fake/#{num}.html", "/real/index.html", locals: { num: num }
end