<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}`}
- title={i18n.t('comments')}
- >
- {post.name}
- </Link>
- )}
+ <Link
+ className="text-body"
+ to={`/post/${post.id}`}
+ title={i18n.t('comments')}
+ >
+ {post.name}
+ </Link>
</h5>
{post.url && (
<small>