lib/j1/commands/generate.rb in j1-template-2020.0.24 vs lib/j1/commands/generate.rb in j1-template-2020.0.25
- old
+ new
@@ -49,20 +49,20 @@
# Internal: Gets the filename of the sample post to be created
#
# Returns the filename of the sample post, as a String
def initialized_post_name
- "collections/posts/public/featured/_posts/#{Time.now.strftime("%Y-%m-%d")}-welcome-to-J1 Template.adoc"
+ "collections/posts/public/featured/_posts/#{Time.now.strftime("%Y-%m-%d")}-welcome-to-j1-template.adoc"
end
private
def gemfile_contents
<<-RUBY
source "https://rubygems.org"
#ruby RUBY_VERSION
-
+
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
@@ -70,22 +70,22 @@
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
# jadams
#gem "jekyll", "#{Jekyll::VERSION}"
gem "jekyll", "~> 3.8"
-
+
# This is the default theme for generate Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.0"
-
+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
-
+
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
end
-
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
RUBY
end