Commit 953d112d authored by Sylvester Keil's avatar Sylvester Keil

Expose site and filters to bibliography template

See #118
parent bf0293a8
...@@ -287,10 +287,17 @@ module Jekyll ...@@ -287,10 +287,17 @@ module Jekyll
return missing_reference unless entry return missing_reference unless entry
liquid_template.render( liquid_template.render(
reference_data(entry,index).merge({ reference_data(entry,index)
'index' => index, .merge(site.site_payload)
'details' => details_link_for(entry) .merge({
})) 'index' => index,
'details' => details_link_for(entry)
}),
{
:registers => { :site => site },
:filters => [Jekyll::Filters]
}
)
end end
def reference_data(entry, index = nil) def reference_data(entry, index = nil)
......
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