Merge branch 'master' into author-by-reference
This commit is contained in:
commit
e0c8173de2
|
@ -97,8 +97,10 @@ module Jekyll
|
|||
@date_modified ||= begin
|
||||
date = if page["seo"] && page["seo"]["date_modified"]
|
||||
page["seo"]["date_modified"]
|
||||
elsif page["last_modified_at"]
|
||||
page["last_modified_at"].to_liquid
|
||||
else
|
||||
page["last_modified_at"] || page["date"]
|
||||
page["date"]
|
||||
end
|
||||
filters.date_to_xmlschema(date) if date
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue