Add .gitignore to theme template.

This commit is contained in:
Parker Moore 2016-06-14 11:43:12 -07:00
parent 8ac5b03006
commit ad94182b49
No known key found for this signature in database
GPG Key ID: 193CDEBA72063C58
2 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,7 @@ class Jekyll::ThemeBuilder
def initialize_git_repo
Jekyll.logger.info "initialize", path.join(".git").to_s
Dir.chdir(path.to_s) { `git init` }
write_file(".gitignore", template("gitignore"))
end
def user_name

View File

@ -0,0 +1,3 @@
.sass-cache
_site
Gemfile.lock