Commit 50b1e2d6 authored by Sylvester Keil's avatar Sylvester Keil

fallback to default details link text

parent ffa00866
......@@ -11,12 +11,12 @@ module Jekyll
@config = Scholar.defaults.dup
@key = arguments.strip.split(/\s+/, 2)[0]
@text = arguments.strip.split(/\s+/, 2)[1] || @config['details_link']
@text = arguments.strip.split(/\s+/, 2)[1]
end
def render(context)
set_context_to context
cite_details key, text
cite_details key, text || config['details_link']
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