Added if guard around last_modified_date in theme