Commit 7e77b9cd authored by Sylvester Keil's avatar Sylvester Keil

make cite tag respect style parameter

see #33
parent d1360d66
...@@ -157,7 +157,7 @@ module Jekyll ...@@ -157,7 +157,7 @@ module Jekyll
entry = bibliography[key] entry = bibliography[key]
entry = entry.convert(*bibtex_filters) unless bibtex_filters.empty? entry = entry.convert(*bibtex_filters) unless bibtex_filters.empty?
citation = CiteProc.process entry.to_citeproc, :style => config['style'], citation = CiteProc.process entry.to_citeproc, :style => style,
:locale => config['locale'], :format => 'html', :mode => :citation :locale => config['locale'], :format => 'html', :mode => :citation
link_to "##{[prefix, entry.key].compact.join('-')}", citation.join link_to "##{[prefix, entry.key].compact.join('-')}", citation.join
......
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