Skip to content

Commit 5d215a2

Browse files
committed
Improve metadata on index page
1 parent fd08825 commit 5d215a2

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

src/pages/index.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/pages/index.jsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import React from 'react';
2+
import { Redirect } from '@docusaurus/router';
3+
import Head from '@docusaurus/Head';
4+
5+
export default function Home() {
6+
return (
7+
<>
8+
<Head>
9+
<title>Pluto</title>
10+
<meta name="description" content="A superset of Lua 5.4 with a focus on general-purpose programming." />
11+
<meta property="og:title" content="Pluto" />
12+
<meta property="og:description" content="A superset of Lua 5.4 with a focus on general-purpose programming." />
13+
<meta name="twitter:title" content="Pluto" />
14+
<meta name="twitter:description" content="A superset of Lua 5.4 with a focus on general-purpose programming." />
15+
</Head>
16+
<Redirect to="/docs/Introduction" />
17+
</>
18+
);
19+
}

0 commit comments

Comments
 (0)