fix twitter link in post details

This commit is contained in:
Nilan Marktanner 2018-01-30 19:39:56 +01:00 committed by GitHub
parent 9cf753b94b
commit 6a9e8e8641
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>