diff --git a/root/layout/components/ExternalLinks.js b/root/layout/components/ExternalLinks.js index a787daf1e46..b40bc44eee0 100644 --- a/root/layout/components/ExternalLinks.js +++ b/root/layout/components/ExternalLinks.js @@ -108,7 +108,7 @@ component ExternalLinks( url={target} />, ); - } else if (/^blog$/.test(linkType.name)) { + } else if (linkType.name === 'blog') { blogsAndReviews.push( , ); - } else if (/^review$/.test(linkType.name)) { + } else if (linkType.name === 'review') { blogsAndReviews.push(