fix: og image generation
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
import type { Metadata } from "next";
|
||||
import Link from "next/link";
|
||||
import { PageHeader } from "@/components/page-header";
|
||||
import { buildOgMeta } from "@/lib/og";
|
||||
import {
|
||||
getLetterYears,
|
||||
getLetterRecipients,
|
||||
@@ -11,6 +13,15 @@ import {
|
||||
import { LettersNav } from "./letters-nav";
|
||||
import { LettersBrowser } from "./letters-browser";
|
||||
|
||||
export function generateMetadata(): Metadata {
|
||||
return buildOgMeta({
|
||||
title: "Letters",
|
||||
detail: "6,800+ letters (1947–1977)",
|
||||
quote:
|
||||
"Personal correspondence by Śrīla Prabhupāda — guiding disciples, Godbrothers, and well-wishers in the science of Kṛṣṇa consciousness.",
|
||||
});
|
||||
}
|
||||
|
||||
export default async function LettersPage({
|
||||
searchParams,
|
||||
}: {
|
||||
|
||||
Reference in New Issue
Block a user