Commit df687e2d authored by Sylvester Keil's avatar Sylvester Keil
Browse files

fix #35 suppress duplicates in cited references

parent 7e77b9cd
......@@ -18,7 +18,7 @@ module Jekyll
references = entries
if cited_only?
references = cited_references.map do |key|
references = cited_references.uniq.map do |key|
references.detect { |e| e.key == key }
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