Sha256: 248ff5de9c96f9852ecb95479f770df2c65c7f8c099b05ed7f355f2e110e8abc

Contents?: true

Size: 1.29 KB

Versions: 18

Compression:

Stored size: 1.29 KB

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

ignore "/should_be_ignored.html"
ignore "/should_be_ignored2.html"
proxy "/target_ignore.html", "/should_be_ignored3.html", ignore: true

ignore "should_be_ignored4.html"
ignore "should_be_ignored5.html"
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.html", ignore: true, locals: { num: num }
end

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

page "f*/*", locals: { all_glob: "I am all glob" }
page "fake/*", locals: { glob_var: "I am one glob" }
page "fake2/*", locals: { glob_var: "I am two glob" }
page "fake3/*", locals: { glob_var: "I am three glob" }
page "fake4/*", locals: { glob_var: "I am four glob" }

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
middleman-core-with-external-sources-watch-fix-4.1.0 fixtures/dynamic-pages-app/config.rb
middleman-core-4.1.3 fixtures/dynamic-pages-app/config.rb
middleman-core-4.1.2 fixtures/dynamic-pages-app/config.rb
middleman-core-4.1.1 fixtures/dynamic-pages-app/config.rb
middleman-core-4.1.0 fixtures/dynamic-pages-app/config.rb
middleman-core-4.1.0.rc.2 fixtures/dynamic-pages-app/config.rb
middleman-core-4.1.0.rc.1 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.rc.3 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.rc.2 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.rc.1 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.beta.2 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.beta.1 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.alpha.6 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.alpha.5 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.alpha.4 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.alpha.3 fixtures/dynamic-pages-app/config.rb
middleman-core-4.0.0.alpha.2 fixtures/dynamic-pages-app/config.rb