make rubocop happy
This commit is contained in:
parent
9620da0224
commit
3797b19a7d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue