Forgot to escape newlines.
This commit is contained in:
parent
ee057a99a7
commit
0d3ea5b710
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue