8 lines
179 B
Ruby
8 lines
179 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" }
|