diff --git a/themes/nav/components/BlogPostCard.js b/themes/nav/components/BlogPostCard.js index d52ef0e6..cc3934e0 100755 --- a/themes/nav/components/BlogPostCard.js +++ b/themes/nav/components/BlogPostCard.js @@ -22,6 +22,8 @@ const BlogPostCard = ({ post, className }) => { ) + + // 检查连接是否是外链 function sliceUrlFromHttp(str) { // 检查字符串是否包含http if (str.includes('http')) {