memoize site_description
This commit is contained in:
parent
e68122d8ce
commit
e637154c53
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue