memoize drop

This commit is contained in:
Ben Balter 2017-04-07 16:37:21 -04:00
parent 3797b19a7d
commit 7885669ee6
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ module Jekyll
end
def drop
Jekyll::SeoTag::Drop.new(@text, @context)
@drop ||= Jekyll::SeoTag::Drop.new(@text, @context)
end
def info