From 7885669ee6fa49a5dd15cabc4120f660c46664a1 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Fri, 7 Apr 2017 16:37:21 -0400 Subject: [PATCH] memoize drop --- lib/jekyll-seo-tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll-seo-tag.rb b/lib/jekyll-seo-tag.rb index 4707faa..eb1c938 100644 --- a/lib/jekyll-seo-tag.rb +++ b/lib/jekyll-seo-tag.rb @@ -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