Sha256: 02c22c87a0d659a76724388457270b9641272b447c06100c1bbe4b43cecfd936

Contents?: true

Size: 402 Bytes

Versions: 16

Compression:

Stored size: 402 Bytes

Contents

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 "public", File.join(location, "public")
    empty_directory File.join(location, "views")
  end
end

Middleman::Templates.register(:html5, Middleman::Templates::Html5)

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
middleman-1.2.8 lib/middleman/templates/html5.rb
middleman-1.2.7 lib/middleman/templates/html5.rb
middleman-1.2.6 lib/middleman/templates/html5.rb
middleman-1.2.5 lib/middleman/templates/html5.rb
middleman-1.2.4 lib/middleman/templates/html5.rb
middleman-1.2.3 lib/middleman/templates/html5.rb
middleman-1.2.2 lib/middleman/templates/html5.rb
middleman-1.2.1 lib/middleman/templates/html5.rb
middleman-1.2.0 lib/middleman/templates/html5.rb
middleman-1.1.6 lib/middleman/templates/html5.rb
middleman-1.1.5 lib/middleman/templates/html5.rb
middleman-1.1.4 lib/middleman/templates/html5.rb
middleman-1.1.3 lib/middleman/templates/html5.rb
middleman-1.1.2 lib/middleman/templates/html5.rb
middleman-1.1.1.a lib/middleman/templates/html5.rb
middleman-1.1.0.1 lib/middleman/templates/html5.rb