memoize fallback_data
This commit is contained in:
parent
0a70e8c172
commit
ab916c974e
|
@ -198,7 +198,7 @@ module Jekyll
|
|||
attr_reader :context
|
||||
|
||||
def fallback_data
|
||||
{}
|
||||
@fallback_data ||= {}
|
||||
end
|
||||
|
||||
def absolute_url?(string)
|
||||
|
|
Loading…
Reference in New Issue