1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/lib/middleman/features/slickmap.rb
2009-10-01 11:26:46 -07:00

24 lines
No EOL
362 B
Ruby

require 'slickmap'
class Middleman::Base
def build_sitemap(&block)
# views - stylesheets
# public
# .select
# block.call(this)
end
get '/sitemap.html' do
@tree = build_sitemap do |file_name|
true
end
haml :sitemap, :layout => false
end
use_in_file_templates!
end
__END__
@@ sitemap
%div.title Hello world!!!!!