fix: og image generation

This commit is contained in:
gosangam
2026-05-06 01:19:06 +05:30
parent 0a82a12580
commit b81b18632d
13 changed files with 464 additions and 179 deletions
+11
View File
@@ -1,7 +1,18 @@
import type { Metadata } from "next";
import Link from "next/link";
import { PageHeader } from "@/components/page-header";
import { GlossaryClient } from "./glossary-client";
import { getAllGlossaryEntries } from "@/lib/api";
import { buildOgMeta } from "@/lib/og";
export function generateMetadata(): Metadata {
return buildOgMeta({
title: "Glossary",
detail: "2,700+ Sanskrit & Vedic terms",
quote:
"A comprehensive glossary of Sanskrit and Vedic terms from the books of Śrīla Prabhupāda.",
});
}
export default async function GlossaryPage() {
const entries = await getAllGlossaryEntries();