From e637154c53f10a23577c00b54c37809dd27b3345 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Fri, 5 May 2017 09:25:22 -0400 Subject: [PATCH] memoize site_description --- 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 c6f4af6..c8c3560 100644 --- a/lib/jekyll-seo-tag/drop.rb +++ b/lib/jekyll-seo-tag/drop.rb @@ -32,7 +32,7 @@ module Jekyll end def site_description - format_string site["description"] + @site_description ||= format_string site["description"] end # Page title without site title or description appended