         title: doc.title
         description: doc.intro
         type: 'article'
-        image: "#{site.link}/file/#{doc._id}/#{doc.photo}"
+        image: "#{site.link}/file/#{doc._id}/#{doc.photo}" if doc.photo
         first_name: author?.name.split(' ')[0]
         last_name: author?.name.split(' ')[1]
         published: doc.published_at

      description: site.seo_description
      type: 'website'
      url: site.link
      image: blocks.site_intro?.photo
  }



        title: collection.name
        description: collection.intro
        type: 'website'
        image: "#{site.link}/file/#{collection._id}/#{collection.photo}" if collection.photo
    }
  else
    return {
