LinkedIn没有显示从GitHub的页面托管网站缩略图

问题描述 投票:1回答:1

在我的LinkedIn的个人资料我托管在Github上,页面上的个人网站没有显示a thumbnail

我也跟着上LinkedIn提供的准则,但它仍然无法正常工作。

我删除了一些从该代码的个人信息。

<!DOCTYPE html>
<html>
   <head>
      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">

      <meta property="og:title" content="ME"/>
      <meta property="og:image" content="img/snapshot.PNG"/>
      <meta property="og:description" content="A description"/>
      <meta property="og:url" content="URL to the site" />


      <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
      <link href="https://fonts.googleapis.com/css?family=Reem+Kufi|Roboto:300" rel="stylesheet">
      <link href="https://use.fontawesome.com/releases/v5.0.8/css/all.css" rel="stylesheet">
      <link rel="stylesheet" href="css/reset.css">
      <link rel="stylesheet" href="css/styles.css">
      <link rel="stylesheet" href="css/themes/grey-white.css">
   </head>
   <body>
      <main>
         <div class="intro">STUFF</div>
      </main>
   </body>
</html>

文件夹结构:

index.html
css/
   reset.css
   styles.css
   themes/
         grey-white.css

img/
   snapshot.PNG
   favicon.ico
   circuit-board.svg

我缺少的是在这里吗?这是LinkedIn,Github上,页面的限制还是我做错了什么?

html github linkedin thumbnails github-pages
1个回答
0
投票

你需要在OG IMG / snapshot.PNG之前添加主机地址:图片标签。这将解决这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.