From ab916c974e886a01ebfb40cb5781f5a1adedd3c4 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Tue, 11 Apr 2017 14:59:45 -0500 Subject: [PATCH] memoize fallback_data --- lib/jekyll-seo-tag/drop.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll-seo-tag/drop.rb b/lib/jekyll-seo-tag/drop.rb index e157160..a0116ca 100644 --- a/lib/jekyll-seo-tag/drop.rb +++ b/lib/jekyll-seo-tag/drop.rb @@ -198,7 +198,7 @@ module Jekyll attr_reader :context def fallback_data - {} + @fallback_data ||= {} end def absolute_url?(string)