memoize site_description

This commit is contained in:
Ben Balter 2017-05-05 09:25:22 -04:00
parent e68122d8ce
commit e637154c53
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 1 additions and 1 deletions

View File

@ -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