mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 23:03:43 +08:00
6e925fee6f
When attempting to Onebox a page if there is no `meta property="og:description"` tag but there is a `meta name="description"` tag, Onebox should try to use that value.
18 lines
704 B
Plaintext
18 lines
704 B
Plaintext
<html lang="en" data-ember-extension="1">
|
|
<head>
|
|
<title>My Page Title</title>
|
|
<meta name="description" content="basic meta description">
|
|
<link rel="canonical" href="https://www.example.com/content">
|
|
<meta property="og:site_name" content="My Site">
|
|
<meta property="twitter:site" content="@example">
|
|
<meta property="og:title" content="My Page Title">
|
|
<meta property="og:url" content="https://www.example.com/content">
|
|
<meta property="og:image" content="https://www.example.com/content/image.png">
|
|
<meta property="og:image:width" content="512">
|
|
<meta property="og:image:height" content="256">
|
|
<body>
|
|
<h1>Welcome</h1>
|
|
<p>Body content goes here</p>
|
|
</body>
|
|
</html>
|