Sha256: 59d8a340958ef963b37c5a07b634344af3b3cef61c799036589d14c2b726ed83

Contents?: true

Size: 985 Bytes

Versions: 60

Compression:

Stored size: 985 Bytes

Contents

# -*- coding: utf-8 -*-
proxy "/fake.html", "/real.html", :layout => false
proxy "fake2.html", "/real.html", :layout => false
proxy "fake3.html", "real.html", :layout => false
proxy "/fake4.html", "real.html", :layout => false

proxy "/target_ignore.html", "/should_be_ignored3.html", :ignore => true
proxy "target_ignore2.html", "/should_be_ignored6.html", :ignore => true
proxy "target_ignore3.html", "should_be_ignored7.html", :ignore => true
proxy "/target_ignore4.html", "should_be_ignored8.html", :ignore => true

%w(one two).each do |num|
  proxy "/fake/#{num}.html", "/real/index.html", :ignore => true, :locals => { :num => num }
  proxy "fake2/#{num}.html", "/real/index.html", :ignore => true, :locals => { :num => num }
  proxy "fake3/#{num}.html", "real/index.html", :ignore => true, :locals => { :num => num }
  proxy "/fake4/#{num}.html", "real/index-ivars.html", :ignore => true do
    @num = num
  end
end

proxy "明日がある.html", "/real.html", :layout => false

Version data entries

60 entries across 60 versions & 3 rubygems

Version Path
middleman-core-3.4.1 fixtures/proxy-pages-app/config.rb
middleman-core-3.4.0 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.12 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.11 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.10 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.9 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.8 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.7 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.6 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.5 fixtures/proxy-pages-app/config.rb
middleman-core-cj-3.3.6 fixtures/proxy-pages-app/config.rb
middleman-core-cj-3.3.5 fixtures/proxy-pages-app/config.rb
middleman-core-cj-3.3.4 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.4 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.3 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.2 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.1 fixtures/proxy-pages-app/config.rb
middleman-core-3.3.0 fixtures/proxy-pages-app/config.rb
middleman-core-3.2.2 fixtures/proxy-pages-app/config.rb
middleman-core-3.2.1 fixtures/proxy-pages-app/config.rb