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/templates/html5.rb

16 lines
481 B
Ruby
Raw Normal View History

class Middleman::Templates::Html5 < Middleman::Templates::Base
2011-07-25 23:48:49 -04:00
class_option :css_dir, :default => "css"
class_option :js_dir, :default => "js"
def self.source_root
2011-07-25 23:48:49 -04:00
File.dirname(__FILE__)
end
def build_scaffold
2011-07-25 23:48:49 -04:00
template "shared/config.tt", File.join(location, "config.rb")
directory "html5/source", File.join(location, "source")
empty_directory File.join(location, "source")
end
end
Middleman::Templates.register(:html5, Middleman::Templates::Html5)