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
return missing_reference unless entry
liquid_template.render(
reference_data(entry,index).merge({
'index' => index,
'details' => details_link_for(entry)
}))
reference_data(entry,index)
.merge(site.site_payload)
.merge({
'index' => index,
'details' => details_link_for(entry)
}),
{
:registers => { :site => site },
:filters => [Jekyll::Filters]
}
)
end
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