Skip to content

Commit

Permalink
fixup metadata variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Oct 30, 2024
1 parent 6b9f1e5 commit 3d0144b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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={title} />
<meta property="og:title" content={pageTitle} />
<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={title} />
<meta property="og:title" content={pageTitle} />
<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={title} />
<meta property="og:title" content={pageTitle} />
<meta property="og:description" content={description} />
<meta property="og:type" content="book" />
<meta
Expand Down

0 comments on commit 3d0144b

Please sign in to comment.