Making links go to post page.

This commit is contained in:
Dessalines 2020-02-14 10:02:37 -05:00
parent deae2b6ade
commit a95f282936

View file

@ -171,16 +171,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<div className="ml-4">
<div className="post-title text-wrap-truncate">
<h5 className="mb-0 d-inline">
{post.url ? (
<a
className="text-body"
href={post.url}
target="_blank"
title={post.url}
>
{post.name}
</a>
) : (
<Link
className="text-body"
to={`/post/${post.id}`}
@ -188,7 +178,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
>
{post.name}
</Link>
)}
</h5>
{post.url && (
<small>