Skip to content

Commit 2142c5c

Browse files
fix(website): index title and icon (#4125)
1 parent 50050b3 commit 2142c5c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

website/src/pages/index.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react'
2+
import Head from '@docusaurus/Head'
23
import Layout from '@theme/Layout'
34
import styles from './index.module.scss'
45
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
@@ -95,10 +96,10 @@ function Features() {
9596
export default function Index() {
9697
const { siteConfig } = useDocusaurusContext()
9798
return (
98-
<Layout
99-
title="Yew | The Rust Frontend Framework"
100-
description={siteConfig.tagline}
101-
>
99+
<Layout description={siteConfig.tagline}>
100+
<Head>
101+
<title>Yew | The Rust Frontend Framework</title>
102+
</Head>
102103
<Hero />
103104
<Features />
104105
</Layout>

website/static/favicon.ico

-5.96 KB
Binary file not shown.

website/static/img/logo.png

-2.17 KB
Loading

0 commit comments

Comments
 (0)