Add og image
Browse files- docs/public/og-img.png +0 -0
- docs/src/layouts/BaseLayout.astro +14 -2
docs/public/og-img.png
ADDED
|
docs/src/layouts/BaseLayout.astro
CHANGED
|
@@ -13,11 +13,23 @@ const { title } = Astro.props;
|
|
| 13 |
<head>
|
| 14 |
<meta charset="UTF-8" />
|
| 15 |
<meta name="description" itemprop="description"
|
| 16 |
-
content="A light-weight, no-dependency, vanilla JavaScript library to drive
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
<meta name="viewport" content="width=device-width" />
|
| 19 |
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
| 20 |
-
<meta name="generator" content={Astro.generator} />
|
| 21 |
<title>Driver.js</title>
|
| 22 |
|
| 23 |
<style is:global>
|
|
|
|
| 13 |
<head>
|
| 14 |
<meta charset="UTF-8" />
|
| 15 |
<meta name="description" itemprop="description"
|
| 16 |
+
content="A light-weight, no-dependency, vanilla JavaScript library to drive user's focus across the page."/>
|
| 17 |
+
|
| 18 |
+
<meta content="Kamran Ahmed" name=author>
|
| 19 |
+
<meta content="summary_large_image" name="twitter:card">
|
| 20 |
+
<meta content="@kamrify" name="twitter:creator">
|
| 21 |
+
<meta content="1200" property="og:image:width">
|
| 22 |
+
<meta content="630" property="og:image:height">
|
| 23 |
+
<meta content="https://driverjs.com/og-img.png" property="og:image">
|
| 24 |
+
<meta content="driverjs.com" property="og:image:alt">
|
| 25 |
+
<meta content="driverjs.com" property="og:site_name">
|
| 26 |
+
<meta content="Driver.js" property="og:title">
|
| 27 |
+
<meta content="A light-weight, no-dependency, vanilla JavaScript library to drive user's focus across the page." property=og:description>
|
| 28 |
+
<meta content="website" property="og:type">
|
| 29 |
+
<meta content="https://driverjs.com/" property="og:url">
|
| 30 |
|
| 31 |
<meta name="viewport" content="width=device-width" />
|
| 32 |
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
|
|
| 33 |
<title>Driver.js</title>
|
| 34 |
|
| 35 |
<style is:global>
|