attempt to fix metadata merging

This commit is contained in:
2025-04-22 22:17:32 -04:00
parent fe055116d5
commit 6c3cd0afe9
25 changed files with 411 additions and 413 deletions
+3 -5
View File
@@ -3,7 +3,7 @@ import { JsonLd } from "react-schemaorg";
import PageTitle from "../../components/PageTitle";
import Link from "../../components/Link";
import Video from "../../components/Video";
import { addMetadata } from "../../lib/helpers/metadata";
import { createMetadata } from "../../lib/helpers/metadata";
import type { VideoObject } from "schema-dts";
import webm from "./convention.webm";
@@ -11,12 +11,10 @@ import mp4 from "./convention.mp4";
import subtitles from "./subs.en.vtt";
import thumbnail from "./thumbnail.png";
export const metadata = addMetadata({
export const metadata = createMetadata({
title: "My Brief Apperance in Hillary Clinton's DNC Video",
description: "My brief apperance in one of Hillary Clinton's 2016 DNC convention videos on substance abuse.",
alternates: {
canonical: "/hillary",
},
canonical: "/hillary",
openGraph: {
videos: [
{