【发布时间】:2019-12-08 02:21:16
【问题描述】:
问题
每当我在社交媒体上分享 URL https://decentr.net/ 时,它都不会附带元描述。
但是,当我分享 url https://decentr.net/blog/ 或任何其他页面时,元描述确实会出现。
这是电报的截图:
例外
在whatsapp上它确实出现了元描述
这是whatsapp的截图
代码
Index.html(主页)的前文
---
layout: page
title: Earn by surfing the net
permalink: /
---
来自<head>的元描述
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Decentr provides a web browser experience that gives surfing the internet a payable value for every user">
<meta name="viewport" content="width=device-width, initial-scale=1">
SEO Jekyll 插件
<!-- Begin Jekyll SEO tag v2.5.0 -->
<title>Earn by surfing the net</title>
<meta name="generator" content="Jekyll v3.8.5" />
<meta property="og:title" content="Earn by surfing the net" />
<meta property="og:locale" content="en_US" />
<link rel="canonical" href="http://decentr.net//" />
<meta property="og:url" content="http://decentr.net//" />
<meta property="og:site_name" content="Earn by surfing the net" />
<script type="application/ld+json"> {"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"http://decentr.net//assets/logo.png"}},"@type":"WebSite","url":"http://decentr.net//","headline":"Earn by surfing the net","name":"Earn by surfing the net","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
来自 _config.yml 的元描述
# Site settings
title: Earn by surfing the net
subtitle: "Decentr provides a web browser experience that gives surfing the internet a payable value for every user"
url: "http://decentr.net/"
Github 回购:
【问题讨论】:
标签: seo jekyll metadata social-media