mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-18 12:52:47 +00:00
16 lines
187 B
Ruby
16 lines
187 B
Ruby
#!/usr/bin/env ruby
|
|
|
|
compile '/' do
|
|
layout 'listing'
|
|
end
|
|
|
|
compile '*' do
|
|
filter :rdiscount
|
|
layout 'default'
|
|
end
|
|
|
|
route '*' do
|
|
item.identifier + 'index.html'
|
|
end
|
|
|
|
layout '*', :erb
|