Forgot to escape newlines.

This commit is contained in:
Parker Moore 2013-03-04 03:41:18 +01:00
parent ee057a99a7
commit 0d3ea5b710
1 changed files with 4 additions and 4 deletions

View File

@ -23,12 +23,12 @@ module Jekyll
site = context.registers[:site] site = context.registers[:site]
site.posts.each do |p| site.posts.each do |p|
if p.slug == @post.slug if p.slug == @post.slug \
and p.date.year == @post.date.year and p.date.year == @post.date.year \
and p.date.month == @post.date.month and p.date.month == @post.date.month \
and p.date.day == @post.date.day and p.date.day == @post.date.day
p.url return p.url
end end
end end