Sha256: 722a33f4e63d12c946260d47042ab0bdb6bfbe8e5d2f6f129bf317a2f2435b21

Contents?: true

Size: 1.48 KB

Versions: 76

Compression:

Stored size: 1.48 KB

Contents

# -*- coding: utf-8 -*-
page "/fake.html", :proxy => "/real.html", :layout => false
page "fake2.html", :proxy => "/real.html", :layout => false
page "fake3.html", :proxy => "real.html", :layout => false
page "/fake4.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

ignore "should_be_ignored4.html"
page "should_be_ignored5.html", :ignore => true
page "target_ignore2.html", :proxy => "/should_be_ignored6.html", :ignore => true
page "target_ignore3.html", :proxy => "should_be_ignored7.html", :ignore => true
page "/target_ignore4.html", :proxy => "should_be_ignored8.html", :ignore => true

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

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

page "f*/*" do
  @all_glob = "I am all glob"
end

page "fake/*" do
  @glob_var = "I am one glob"
end

page "fake2/*" do
  @glob_var = "I am two glob"
end

page "fake3/*" do
  @glob_var = "I am three glob"
end

page "fake4/*" do
  @glob_var = "I am four glob"
end

Version data entries

76 entries across 76 versions & 3 rubygems

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