Sha256: e765bafda5ac5857024987d1553d10ce35176b8bc68ceda5197acd358cf1c57b
Contents?: true
Size: 481 Bytes
Versions: 25
Compression:
Stored size: 481 Bytes
Contents
class Middleman::Templates::Html5 < Middleman::Templates::Base class_option :css_dir, :default => "css" class_option :js_dir, :default => "js" def self.source_root File.dirname(__FILE__) end def build_scaffold 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)
Version data entries
25 entries across 25 versions & 1 rubygems