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

13 lines
403 B
Ruby
Raw Normal View History

class Middleman::Templates::Html5 < Middleman::Templates::Base
def self.source_root
File.join(File.dirname(__FILE__), 'html5')
end
def build_scaffold
template "config.tt", File.join(location, "config.rb")
directory "source", File.join(location, "source")
empty_directory File.join(location, "source")
end
end
Middleman::Templates.register(:html5, Middleman::Templates::Html5)