From f2849ac269d72ee505f165bc03323ca9b0275694 Mon Sep 17 00:00:00 2001 From: TheTomThorogood Date: Mon, 5 May 2014 00:12:07 +0930 Subject: [PATCH] Add :short_year to url_placeholders --- lib/jekyll/post.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index 8ebe92b5..13217bf0 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -225,6 +225,7 @@ module Jekyll :i_month => date.strftime("%m").to_i.to_s, :categories => (categories || []).map { |c| c.to_s }.join('/'), :short_month => date.strftime("%b"), + :short_year => date.strftime("%y"), :y_day => date.strftime("%j"), :output_ext => output_ext }