Links from posts open in new tab.

- Fixes #88
This commit is contained in:
Dessalines 2019-04-20 12:04:17 -07:00
parent cb307cf30a
commit ff013ccfc2

View File

@ -65,7 +65,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<div className="pt-1 ml-4"> <div className="pt-1 ml-4">
{post.url {post.url
? <div className="mb-0"> ? <div className="mb-0">
<h5 className="d-inline"><a className="text-white" href={post.url} title={post.url}>{post.name}</a> <h5 className="d-inline"><a className="text-white" href={post.url} target="_blank" title={post.url}>{post.name}</a>
{post.removed && {post.removed &&
<small className="ml-2 text-muted font-italic">removed</small> <small className="ml-2 text-muted font-italic">removed</small>
} }