simon 11 місяців тому
батько
коміт
0b81e6f83e
2 змінених файлів з 9 додано та 1 видалено
  1. 7 0
      public/oembed.json
  2. 2 1
      src/layouts/Layout.astro

+ 7 - 0
public/oembed.json

@@ -0,0 +1,7 @@
+{
+	"type": "photo",
+	"width": 192,
+	"height": 192,
+	"title": "Simo",
+	"url": "/favicon.gif"
+}

+ 2 - 1
src/layouts/Layout.astro

@@ -11,8 +11,9 @@ const { title } = Astro.props;
 	<head>
 		<meta charset="UTF-8" />
 		<meta name="viewport" content="width=device-width, initial-scale=1" />
-		<meta content="https://simo.ng/favicon.gif" name="og:image">
+		<!-- <meta content="https://simo.ng/favicon.gif" name="og:image"> -->
 		<meta content="#ff0504" name="theme-color">
+		<link type="application/json+oembed" href="/oembed.json" />
 		<link rel="icon" type="image/svg+xml" href="/favicon.gif" />
 		<link rel="stylesheet" href="https://unpkg.com/98.css" />
 		<meta name="generator" content={Astro.generator} />