Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (21 sloc) 330 Bytes
#!/usr/bin/env ruby
# General
preprocess do
copy_static # add assets to the output directory
end
# Sitemap
compile '/sitemap/' do
filter :erb
end
route '/sitemap/' do
'/sitemap.xml'
end
# General
compile '*' do
filter :erb
layout 'default'
end
route '*' do
item.identifier + 'index.html'
end
layout '*', :erb