Skip to content

Commit

Permalink
fixed metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Oct 30, 2024
1 parent 5986cd4 commit 6b9f1e5
Show file tree
Hide file tree
Showing 5 changed files with 139 additions and 139 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"dependencies": {
"@formkit/auto-animate": "^0.8.2",
"@heroicons/react": "^2.1.5",
"@mui/base": "5.0.0-beta.60",
"@mui/base": "5.0.0-beta.61",
"@next/third-parties": "15.0.2",
"@tailwindcss/container-queries": "^0.1.1",
"@types/node": "^22.8.2",
"@types/node": "^22.8.4",
"@types/react": "^19.0.0-rc.1",
"@types/react-dom": "19.0.0-rc.1",
"algoliasearch": "5.11.0",
"algoliasearch": "5.12.0",
"autoprefixer": "^10.4.20",
"clsx": "^2.1.1",
"decanter": "^7.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const StanfordPageMetadata = async ({node, isHome}: Props) => {
<>
<title>{pageTitle}</title>
<meta name="description" content={description} />
<meta property="og:title" content="Stanford Sites User Guide" />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />

{image && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const SupAncillaryMetadata = async ({node}: Props) => {
<>
<title>{pageTitle}</title>
<meta name="description" content={description} />
<meta property="og:title" content="Stanford Sites User Guide" />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />

{image && (
Expand Down
2 changes: 1 addition & 1 deletion src/components/nodes/pages/sup-book/sup-book-metadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const SupBookMetadata = async ({node, isExcerptPage, isCopyRequestPage}: Props)
<>
<title>{pageTitle}</title>
<meta name="description" content={description} />
<meta property="og:title" content="Stanford Sites User Guide" />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:type" content="book" />
<meta
Expand Down
Loading

0 comments on commit 6b9f1e5

Please sign in to comment.