Method: J1::Commands::Generate.create_blank_site

Defined in:
lib/j1/commands/generate.rb

.create_blank_site(path) ⇒ Object



48
49
50
51
52
53
# File 'lib/j1/commands/generate.rb', line 48

def create_blank_site(path)
  Dir.chdir(path) do
    FileUtils.mkdir(%w(_layouts posts/public/featured/_posts _drafts))
    FileUtils.touch('index.html')
  end
end