Commit 76db48e2 authored by rmrf's avatar rmrf Committed by Hiren Patel

Upped the version so it works

parent d1e83262
......@@ -86,11 +86,10 @@ module Jekyll
end
items = items[offset..max] if limit_entries?
bibliography = render_header(@type_labels[query])
bibliography = ""
bibliography << render_header(@type_labels[query])
bibliography << items.each_with_index.map { |entry, index|
reference = render_index(entry, bibliography_tag(entry, nil))
if generate_details?
reference << link_to(details_link_for(entry),
config['details_link'], :class => config['details_link_class'])
......@@ -111,8 +110,7 @@ module Jekyll
content_tag "li class=\"" + render_ref_img(entry) + "\"", reference
}.join("\n")
content_tag config['bibliography_list_tag'], bibliography, :class => config['bibliography_class']
return content_tag config['bibliography_list_tag'], bibliography, :class => config['bibliography_class']
end
end
......
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