mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
11 lines
318 B
Ruby
11 lines
318 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|