diff --git a/lib/jekyll-seo-tag/drop.rb b/lib/jekyll-seo-tag/drop.rb index e997536..56d1e0b 100644 --- a/lib/jekyll-seo-tag/drop.rb +++ b/lib/jekyll-seo-tag/drop.rb @@ -98,7 +98,7 @@ module Jekyll date = if page["seo"] && page["seo"]["date_modified"] page["seo"]["date_modified"] else - page["last_modified_at"] || page["date"] + page["last_modified_at"].to_liquid || page["date"] end filters.date_to_xmlschema(date) if date end