Merge pull request #2673 from lucianosousa/patch-1

This commit is contained in:
Parker Moore 2014-08-01 23:27:13 -04:00
commit 503e54779a
1 changed files with 2 additions and 2 deletions

View File

@ -223,8 +223,8 @@ module Jekyll
:month => date.strftime("%m"), :month => date.strftime("%m"),
:day => date.strftime("%d"), :day => date.strftime("%d"),
:title => slug, :title => slug,
:i_day => date.strftime("%d").to_i.to_s, :i_day => date.strftime("%-d"),
:i_month => date.strftime("%m").to_i.to_s, :i_month => date.strftime("%-m"),
:categories => (categories || []).map { |c| c.to_s }.join('/'), :categories => (categories || []).map { |c| c.to_s }.join('/'),
:short_month => date.strftime("%b"), :short_month => date.strftime("%b"),
:short_year => date.strftime("%y"), :short_year => date.strftime("%y"),