public
Created

  • Download Gist
gistfile1
1 2 3 4 5 6
ready do
sitemap.resources.group_by {|p| p.data["category"] }.each do |category, posts|
proxy "/category/#{category}.html", "category.html",
:locals => { :category => category, :posts => posts }, :ignore => true
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.