Commit 285e616b authored by Sylvester Keil's avatar Sylvester Keil
Browse files

support dependent styles

see #108
parent 7c1651b4
......@@ -5,7 +5,9 @@ module Jekyll
# They should be thread safe as long as they are
# treated as being read-only.
STYLES = do |h, k|
h[k.to_s] = CSL::Style.load k
style = CSL::Style.load k
style = style.independent_parent unless style.independent?
h[k.to_s] = style
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