Sha256: 001734e3d5310723036a93f6e81772ae52f2b9843b83d09355218b43bdb12c5e

Contents?: true

Size: 625 Bytes

Versions: 13

Compression:

Stored size: 625 Bytes

Contents

class Middleman::Templates::Xhtml < Middleman::Templates::Base
  def self.source_root
    File.join(File.dirname(__FILE__), 'default')
  end
  
  def build_scaffold
    template "config.tt", File.join(location, "config.rb")
    template "config.ru", File.join(location, "config.ru")
    directory "source", File.join(location, "source")
    empty_directory File.join(location, "source", options[:css_dir])
    empty_directory File.join(location, "source", options[:js_dir])
    empty_directory File.join(location, "source", options[:images_dir])
  end  
end

Middleman::Templates.register(:xhtml, Middleman::Templates::Xhtml)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
middleman-2.0.0.rc8 lib/middleman/templates/xhtml.rb
middleman-2.0.0.rc7 lib/middleman/templates/xhtml.rb
middleman-2.0.0.rc6 lib/middleman/templates/xhtml.rb
middleman-2.0.0.rc5 lib/middleman/templates/xhtml.rb
middleman-2.0.0.rc4 lib/middleman/templates/xhtml.rb
middleman-2.0.0.rc3 lib/middleman/templates/xhtml.rb
middleman-2.0.0.rc2 lib/middleman/templates/xhtml.rb
middleman-2.0.0.rc1 lib/middleman/templates/xhtml.rb
middleman-2.0.0.beta6 lib/middleman/templates/xhtml.rb
middleman-2.0.0.beta5 lib/middleman/templates/xhtml.rb
middleman-2.0.0.beta4 lib/middleman/templates/xhtml.rb
middleman-2.0.0.beta3 lib/middleman/templates/xhtml.rb
middleman-2.0.0.beta2 lib/middleman/templates/xhtml.rb