mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03:00
c4d3bd7cd2
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. |
||
---|---|---|
.. | ||
test_tpl | ||
asset_spec.js | ||
author_spec.js | ||
body_class_spec.js | ||
content_spec.js | ||
date_spec.js | ||
encode_spec.js | ||
excerpt_spec.js | ||
foreach_spec.js | ||
get_spec.js | ||
ghost_foot_spec.js | ||
ghost_head_spec.js | ||
has_spec.js | ||
image_spec.js | ||
input_password_spec.js | ||
is_spec.js | ||
meta_description_spec.js | ||
meta_title_spec.js | ||
navigation_spec.js | ||
next_post_spec.js | ||
page_url_spec.js | ||
pagination_spec.js | ||
plural_spec.js | ||
post_class_spec.js | ||
prev_post_spec.js | ||
tags_spec.js | ||
title_spec.js | ||
url_spec.js | ||
utils.js |