Merge pull request #49 from marktani/patch-1

fix twitter link in post details
This commit is contained in:
Alexander Shelepenok 2018-01-30 21:50:45 +03:00 committed by GitHub
commit 313dba728a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ class PostTemplateDetails extends React.Component {
<hr />
<p className="post-single__footer-text">
{subtitle}
<a href={author.twitter} target="_blank" rel="noopener noreferrer">
<a href={`https://twitter.com/${author.twitter}`} target="_blank" rel="noopener noreferrer">
<br /> <strong>{author.name}</strong> on Twitter
</a>
</p>