make rubocop happy

This commit is contained in:
Ben Balter 2017-04-07 16:35:20 -04:00
parent 9620da0224
commit 3797b19a7d
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 3 additions and 1 deletions

View File

@ -90,7 +90,9 @@ module Jekyll
def date_modified
@date_modified ||= begin
return page["seo"]["date_modified"] if page["seo"] && page["seo"]["date_modified"]
if page["seo"] && page["seo"]["date_modified"]
return page["seo"]["date_modified"]
end
page["last_modified_at"] || page["date"]
end
end