From 27578e1498b7cbd869bc3debd4f10d587d936d54 Mon Sep 17 00:00:00 2001 From: Jon Frisby Date: Thu, 21 Feb 2013 12:15:39 -0800 Subject: [PATCH] Bring over a couple little things from master... --- Rakefile | 6 ++++-- plugins/date.rb | 2 +- plugins/sitemap_generator.rb | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Rakefile b/Rakefile index b5a2737..5f07161 100644 --- a/Rakefile +++ b/Rakefile @@ -197,7 +197,7 @@ task :new_page, :filename do |t, args| end # usage rake isolate[my-post] -desc "Move all other posts than the one currently being worked on to a temporary stash location (stash) so regenerating the site happens much quicker." +desc "Move all other posts than the one currently being worked on to a temporary stash location (stash) so regenerating the site happens much more quickly." task :isolate, :filename do |t, args| if args.filename filename = args.filename @@ -369,7 +369,9 @@ task :setup_github_pages, :repo do |t, args| if args.repo repo_url = args.repo else - repo_url = get_stdin("Enter the read/write url for your repository: ") + puts "Enter the read/write url for your repository" + puts "(For example, 'git@github.com:your_username/your_username.github.com)" + repo_url = get_stdin("Repository url: ") end unless repo_url[-4..-1] == ".git" repo_url << ".git" diff --git a/plugins/date.rb b/plugins/date.rb index b864f3e..49fb79a 100644 --- a/plugins/date.rb +++ b/plugins/date.rb @@ -95,4 +95,4 @@ module Jekyll self.data['updated_formatted'] = format_date(self.data['updated'], date_format) if self.data.has_key?('updated') end end -end \ No newline at end of file +end diff --git a/plugins/sitemap_generator.rb b/plugins/sitemap_generator.rb index b7779a0..fa20714 100644 --- a/plugins/sitemap_generator.rb +++ b/plugins/sitemap_generator.rb @@ -1,6 +1,6 @@ # Sitemap.xml Generator is a Jekyll plugin that generates a sitemap.xml file by # traversing all of the available posts and pages. -# +# # How To Use: # 1) Copy source file into your _plugins folder within your Jekyll project. # 2) Change modify the url variable in _config.yml to reflect your domain name. @@ -28,12 +28,12 @@ # system modified date of the page or post, system modified date of # included layout, system modified date of included layout within that # layout, ... -# +# # Author: Michael Levin # Site: http://www.kinnetica.com # Distributed Under A Creative Commons License # - http://creativecommons.org/licenses/by/3.0/ -# +# # Modified for Octopress by John W. Long # require 'rexml/document'