1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/middleman-core/fixtures/page-id-app/config-proc.rb
Thomas Reynolds efd1ef69d6
2018 cleanup
Upgrade our deps
Drop support for Ruby 2.2 (because some deps have)
Update rubocop and lints
2018-09-11 11:43:07 -07:00

7 lines
180 B
Ruby

%w[1 2 3].each do |n|
proxy "/#{n}.html", '/index.html', id: "page#{n}"
end
page '/overwrites/*', id: :"something-else"
config[:page_id_generator] = ->(path) { path + '-foo' }