Commit de7e648a by Sylvester Keil

Merge branch 'master' of github.com:inukshuk/jekyll-scholar

parents 0ea4c002 e2f2cfa1
...@@ -11,6 +11,8 @@ module Jekyll ...@@ -11,6 +11,8 @@ module Jekyll
'bibliography_group_tag' => 'h2,h3,h4,h5', 'bibliography_group_tag' => 'h2,h3,h4,h5',
'bibliography_list_tag' => 'ol', 'bibliography_list_tag' => 'ol',
'bibliography_item_tag' => 'li', 'bibliography_item_tag' => 'li',
'bibliography_list_attributes' => {},
'bibliography_item_attributes' => {},
'source' => './_bibliography', 'source' => './_bibliography',
'bibliography' => 'references.bib', 'bibliography' => 'references.bib',
......
...@@ -89,10 +89,12 @@ module Jekyll ...@@ -89,10 +89,12 @@ module Jekyll
config['details_link'], :class => config['details_link_class']) config['details_link'], :class => config['details_link_class'])
end end
content_tag config['bibliography_item_tag'], reference content_tag config['bibliography_item_tag'], reference, config['bibliography_item_attributes']
}.join("\n") }.join("\n")
content_tag config['bibliography_list_tag'], bibliography, :class => config['bibliography_class'] content_tag config['bibliography_list_tag'], bibliography,
{ :class => config['bibliography_class'] }.merge(config['bibliography_list_attributes'])
end end
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