Skip to content

Commit 060f3be

Browse files
committed
Update SEO
1 parent dc5b482 commit 060f3be

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const config = {
1212
baseUrl: '/',
1313
onBrokenLinks: 'throw',
1414
onBrokenMarkdownLinks: 'warn',
15-
favicon: 'img/favicon.ico',
15+
favicon: 'img/sph-logo.png',
1616
organizationName: 'SurPathHub', // Usually your GitHub org/user name.
1717
projectName: 'docs', // Usually your repo name.
1818
trailingSlash: false,

src/pages/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import SPHButton from "../components/SPHButton";
77
import {projects} from "../constants/projects";
88
import SPHCard from "../components/SPHCard";
99
import SPHTitleBar from "../components/SPHTitleBar";
10+
import siteMetadata from "@generated/site-metadata";
1011

1112
function Hero() {
1213
const {siteConfig} = useDocusaurusContext();
@@ -28,10 +29,11 @@ function Hero() {
2829
}
2930

3031
export default function Home() {
32+
const {siteConfig} = useDocusaurusContext();
3133
return (
3234
<Layout
3335
title={`HOME`}
34-
description="Description will go into a meta tag in <head />">
36+
description={siteConfig.tagline}>
3537
<Hero/>
3638
<main className="content-wrap">
3739
<SPHTitleBar>SurPathHub Projects</SPHTitleBar>

0 commit comments

Comments
 (0)