Commit 16c28433 authored by Sylvester Keil's avatar Sylvester Keil

1.8.7 compatibility

see #26
parent d43f4efd
...@@ -23,7 +23,7 @@ module Jekyll ...@@ -23,7 +23,7 @@ module Jekyll
end end
end end
bibliography = references.map.with_index { |entry, index| bibliography = references.each_with_index.map { |entry, index|
reference = bibliography_tag(entry, index + 1) reference = bibliography_tag(entry, index + 1)
if generate_details? if generate_details?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment