From 8cf48bc99accfc49e4a725e0664a59eaacdbdb90 Mon Sep 17 00:00:00 2001 From: Tim Fesenko <roadscape@users.noreply.github.com> Date: Thu, 12 Jan 2017 14:41:20 -0500 Subject: [PATCH] meta description should be name, not property (#989) * meta description should be name, not property * change postsummary h1 to h3 --- app/components/cards/PostSummary.jsx | 4 ++-- app/components/cards/PostSummary.scss | 2 +- app/utils/ExtractMeta.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/cards/PostSummary.jsx b/app/components/cards/PostSummary.jsx index 5723e07e8..fdc571346 100644 --- a/app/components/cards/PostSummary.jsx +++ b/app/components/cards/PostSummary.jsx @@ -109,13 +109,13 @@ class PostSummary extends React.Component { let content_body = <div className="PostSummary__body entry-content"> <a href={title_link_url} onClick={e => navigate(e, onClick, post, title_link_url)}>{desc}</a> </div>; - let content_title = <h1 className="entry-title"> + let content_title = <h3 className="entry-title"> <a href={title_link_url} onClick={e => navigate(e, onClick, post, title_link_url)}> {isNsfw && <span className="nsfw-flag">nsfw</span>} {title_text} {full_power && <span title="Powered Up 100%"><Icon name="steem" /></span>} </a> - </h1>; + </h3>; // author and category let author_category = <span className="vcard"> diff --git a/app/components/cards/PostSummary.scss b/app/components/cards/PostSummary.scss index 7757018d2..e132f1954 100644 --- a/app/components/cards/PostSummary.scss +++ b/app/components/cards/PostSummary.scss @@ -68,7 +68,7 @@ ul.PostsList__summaries { } .PostSummary__header { - > h1 { + > h3 { font: 600 100% "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif; margin: 0; overflow: hidden; diff --git a/app/utils/ExtractMeta.js b/app/utils/ExtractMeta.js index b12e8f755..481acd4a0 100644 --- a/app/utils/ExtractMeta.js +++ b/app/utils/ExtractMeta.js @@ -5,7 +5,7 @@ const site_desc = 'Steemit is a social media platform where everyone gets paid f function addSiteMeta(metas) { metas.push({title: 'Steemit'}); - metas.push({property: 'description', content: site_desc}); + metas.push({name: 'description', content: site_desc}); metas.push({property: 'og:type', content: 'website'}); metas.push({property: 'og:site_name', content: 'Steemit'}); metas.push({property: 'og:title', content: 'Steemit'}); -- GitLab