Skip to content
Snippets Groups Projects
Commit 8cf48bc9 authored by Tim Fesenko's avatar Tim Fesenko Committed by Valentine Zavgorodnev
Browse files

meta description should be name, not property (#989)

* meta description should be name, not property

* change postsummary h1 to h3
parent 87611883
No related branches found
No related tags found
No related merge requests found
...@@ -109,13 +109,13 @@ class PostSummary extends React.Component { ...@@ -109,13 +109,13 @@ class PostSummary extends React.Component {
let content_body = <div className="PostSummary__body entry-content"> 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> <a href={title_link_url} onClick={e => navigate(e, onClick, post, title_link_url)}>{desc}</a>
</div>; </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)}> <a href={title_link_url} onClick={e => navigate(e, onClick, post, title_link_url)}>
{isNsfw && <span className="nsfw-flag">nsfw</span>} {isNsfw && <span className="nsfw-flag">nsfw</span>}
{title_text} {title_text}
{full_power && <span title="Powered Up 100%"><Icon name="steem" /></span>} {full_power && <span title="Powered Up 100%"><Icon name="steem" /></span>}
</a> </a>
</h1>; </h3>;
// author and category // author and category
let author_category = <span className="vcard"> let author_category = <span className="vcard">
......
...@@ -68,7 +68,7 @@ ul.PostsList__summaries { ...@@ -68,7 +68,7 @@ ul.PostsList__summaries {
} }
.PostSummary__header { .PostSummary__header {
> h1 { > h3 {
font: 600 100% "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif; font: 600 100% "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
margin: 0; margin: 0;
overflow: hidden; overflow: hidden;
......
...@@ -5,7 +5,7 @@ const site_desc = 'Steemit is a social media platform where everyone gets paid f ...@@ -5,7 +5,7 @@ const site_desc = 'Steemit is a social media platform where everyone gets paid f
function addSiteMeta(metas) { function addSiteMeta(metas) {
metas.push({title: 'Steemit'}); 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:type', content: 'website'});
metas.push({property: 'og:site_name', content: 'Steemit'}); metas.push({property: 'og:site_name', content: 'Steemit'});
metas.push({property: 'og:title', content: 'Steemit'}); metas.push({property: 'og:title', content: 'Steemit'});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment