Commit 23419435 authored by Sylvester Keil's avatar Sylvester Keil

Merge pull request #98 from mamoll/master

add bibtex files to dependency tree
parents 0e4bdb4d 5b2fbf05
......@@ -15,6 +15,16 @@ module Jekyll
def render(context)
set_context_to context
# Add bibtex files to dependency tree
if context.registers[:page] and context.registers[:page].has_key? "path"
bibtex_paths.each do |bibtex_path|
site.regenerator.add_dependency(
site.in_source_dir(context.registers[:page]["path"]),
bibtex_path
)
end
end
items = entries
if cited_only?
......
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