feat: add og and twitter card for homepage

This commit is contained in:
chenmoonmo 2022-08-31 10:06:45 +08:00
parent 1deae12641
commit 3bc9c595a4
2 changed files with 21 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -6,6 +6,27 @@
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="https://affine.pro/" />
<meta name="twitter:title" content="AFFiNE - All In One Workos" />
<meta
name="twitter:description"
content="Affine is the next-generation collaborative knowledge base for professionals."
/>
<meta name="twitter:site" content="@AffineOfficial" />
<meta name="twitter:image" content="https://affine.pro/og.png" />
<meta property="og:type" content="website" />
<meta property="og:title" content="AFFiNE - All In One Workos" />
<meta property="og:site_name" content="AFFiNE - All In One Workos" />
<meta property="og:url" content="https://affine.pro/" />
<meta property="og:image" content="https://affine.pro/og.png" />
<meta
property="og:description"
content="Affine is the next-generation collaborative knowledge base for professionals."
/>
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
</head>
<body>