diff --git a/pages/blog/posts/[slug].page.tsx b/pages/blog/posts/[slug].page.tsx index 4f4ce4d9a..c76004101 100644 --- a/pages/blog/posts/[slug].page.tsx +++ b/pages/blog/posts/[slug].page.tsx @@ -86,14 +86,28 @@ export default function StaticMarkdownPage({
{author.name}
- {author.twitter && ( + {author.twitter ? ( @{author.twitter} - )} + ) : author.link ? ( + + {author.link + .replace( + /https?:\/\/(www\.)?linkedin\.com\/in\//, + '', + ) + .replace(/\/$/, '')} + + ) : null} );