Skip to content

Commit

Permalink
add meta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
WanderedToLa committed Jul 1, 2024
1 parent f283ec4 commit 9a4f746
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const config: Config = {
url: 'https://wandered2la.com',
baseUrl: '/',
organizationName: 'WanderedToLa',
projectName: 'logs',
projectName: 'wanderedtola.blog',
deploymentBranch: 'gh-pages',
trailingSlash: false,

Expand All @@ -31,11 +31,11 @@ const config: Config = {
{
docs: {
sidebarPath: './sidebars.ts',
editUrl: 'https://github.com/WanderedToLa/logs/tree/master/',
editUrl: 'https://github.com/WanderedToLa/wanderedtola.blog/tree/master',
},
blog: {
showReadingTime: true,
editUrl: 'https://github.com/WanderedToLa/logs/tree/master/',
editUrl: 'https://github.com/WanderedToLa/wanderedtola.blog/tree/master',
},
theme: {
customCss: './src/css/custom.css',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"clsx": "^1.2.1",
"prism-react-renderer": "^2.1.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react-dom": "^18.0.0",
"three": "^0.166.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.0.0",
Expand Down
9 changes: 9 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import { usePluginData } from '@docusaurus/useGlobalData';
import Head from '@docusaurus/Head';
import Layout from '@theme/Layout';
import Heading from '@theme/Heading';
import Link from '@docusaurus/Link';
Expand All @@ -10,6 +11,14 @@ export default function Home() {

return (
<Layout title={`${siteConfig.title}`} description={`${siteConfig.tagline}`}>
<Head>
<title>{siteConfig.title}</title>
<meta name="keywords" content="frontend, docusaurus" />
<meta name="author" content={siteConfig.organizationName} />
<meta property="og:title" content={siteConfig.title} />
<meta property="og:description" content={siteConfig.tagline} />
<meta property="og:url" content={siteConfig.url} />
</Head>
<div className="layout-container">
<div className="main-container">
<div>
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9621,6 +9621,11 @@ text-table@^0.2.0:
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==

three@^0.166.0:
version "0.166.0"
resolved "https://registry.yarnpkg.com/three/-/three-0.166.0.tgz#8baa462b03430a87bdcbfed850f4d30fae0359f1"
integrity sha512-3Gw7oyZ/vCmz3RmNx1xuyNu7Ou/igDtoh953QsJh/QkAoi6B7jpkKwk05N8Y7/9bZeIE44zdC+i2KZNF+KWQ8A==

thunky@^1.0.2:
version "1.1.0"
resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d"
Expand Down

0 comments on commit 9a4f746

Please sign in to comment.