Sha256: 24d2516487793a90ab5af938e970afc64ba47cc08872a37aa94984ef0cd44e4b
Contents?: true
Size: 527 Bytes
Versions: 41
Compression:
Stored size: 527 Bytes
Contents
class Middleman::Templates::Html5 < Middleman::Templates::Base class_option :css_dir, :default => "css" class_option :js_dir, :default => "js" class_option :images_dir, :default => "img" 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
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
middleman-2.0.9.pre.3 | lib/middleman/templates/html5.rb |