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 0455cb5 commit d67bc54
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const StanfordCourseMetadata = 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} />

<meta property="og:type" content="website" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const StanfordEventSeriesMetadata = 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} />

<meta property="og:type" content="website" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const StanfordEventMetadata = 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} />

<meta property="og:type" content="website" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const StanfordNewsMetadata = 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} />
<meta property="og:type" content="article" />
{node.suNewsPublishingDate?.time && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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 @@ -20,7 +20,7 @@ const StanfordPersonMetadata = 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} />
<meta property="og:type" content="profile" />
<meta property="profile:first_name" content={node.suPersonFirstName} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const StanfordPolicyMetadata = 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} />

<meta property="og:type" content="website" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const StanfordPublicationMetadata = 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
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const SummerCourseMetadata = 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

0 comments on commit d67bc54

Please sign in to comment.