memoize fallback_data

This commit is contained in:
Ben Balter 2017-04-11 14:59:45 -05:00
parent 0a70e8c172
commit ab916c974e
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ module Jekyll
attr_reader :context
def fallback_data
{}
@fallback_data ||= {}
end
def absolute_url?(string)