Ghost/core/server/data/meta
Hannah Wolfe c4d3bd7cd2 Fix errors in JSON-LD output
refs #6534

- don't output publisher for the 'People' type on the author page
- change publisher to a full 'Organisation' for the 'Article' type on posts

Note:
Google's structured data validator also wants image & publisher.logo inside of Article to be full 'ImageObject's.
Currently, it output's an error for them: 'The attribute itemtype has an invalid value.'
However, the spec on Schema.org says a url is valid: https://schema.org/Article,
which is slightly different to Google's spec here: https://developers.google.com/structured-data/rich-snippets/articles#article_markup_properties

Ideally, we would output a full 'ImageObject', however we don't currently have the width & height info required.
Therefore, I think what we have is valid strictly speaking, but we should aim to fix this when we have better image tools.
2016-05-13 15:13:11 +02:00
..
asset_url.js Rename confusing 'context' variables 2016-02-21 22:07:15 +00:00
author_fb_url.js Structured Data 3.0 2016-05-08 17:43:59 +02:00
author_image.js Add structured data to static pages 2016-03-30 12:57:13 +01:00
author_url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
canonical_url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
context_object.js Add structured data to static pages 2016-03-30 12:57:13 +01:00
cover_image.js Add structured data to static pages 2016-03-30 12:57:13 +01:00
creator_url.js Structured Data 3.0 2016-05-08 17:43:59 +02:00
description.js Refactored ghost head helper 2016-02-04 22:18:51 -08:00
excerpt.js Fix facebook/twitter/schema description 2016-02-18 12:11:46 +00:00
index.js Fix errors in JSON-LD output 2016-05-13 15:13:11 +02:00
keywords.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
modified_date.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
og_type.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
paginated_url.js Clean up paginated URL generation 2016-03-20 22:35:00 +00:00
published_date.js Strutured data: Slack Unfurls & published_at fix 2016-02-22 01:45:00 +01:00
rss_url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
schema.js Fix errors in JSON-LD output 2016-05-13 15:13:11 +02:00
structured_data.js Structured Data 3.0 2016-05-08 17:43:59 +02:00
title.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00
url.js Started moving meta data fetching to functions. 2016-01-23 13:58:21 -08:00