dynamic opengraph images

This commit is contained in:
jake committed 2025-03-14 08:22:32 -04:00
1 parent 4d2febd262
commit e162d6a46c
35 files changed
+310 -208

No files matched your search

+1 -9
View File
@@ -15,7 +15,7 @@ import "./global.css";
import styles from "./layout.module.css";
import meJpg from "./me.jpg";
import meJpg from "../public/static/me.jpg";
export const metadata: Metadata = {
metadataBase: new URL(config.baseUrl),
@@ -33,14 +33,6 @@ export const metadata: Metadata = {
url: "/",
locale: config.siteLocale?.replace("-", "_"),
type: "website",
images: [
{
url: meJpg.src,
alt: `${config.siteName} – ${config.shortDescription}`,
width: meJpg.width,
height: meJpg.height,
},
],
},
twitter: {
creator: `@${config.authorSocial?.twitter}`,