feat: add transcriptions collection

This commit is contained in:
gosangam
2026-05-06 12:21:07 +05:30
parent e6529ef62e
commit 9730ab0170
4 changed files with 179 additions and 0 deletions
+20
View File
@@ -84,6 +84,8 @@ const CONTENT_TYPE_DESCRIPTIONS: Record<string, string> = {
"Back to Godhead — the magazine founded by Śrīla Prabhupāda in 1944 to present the timeless science of Kṛṣṇa consciousness.",
"other-documents":
"Writings and analyses by His Divine Grace A.C. Bhaktivedanta Swami Prabhupāda.",
transcriptions:
"Transcriptions of Śrīla Prabhupāda's lectures, morning walks, room conversations, and dialogues — the living voice of the Founder-Ācārya preserved in text.",
};
function getFallbackQuote(title: string, code?: string): string {
@@ -263,6 +265,24 @@ export function ogForOtherDocument(docTitle: string, chapterTitle?: string) {
});
}
/** OG metadata for a transcription. */
export function ogForTranscription(name: string, meta?: string) {
return buildOgMeta({
title: name,
detail: meta || undefined,
quote: CONTENT_TYPE_DESCRIPTIONS.transcriptions,
});
}
/** OG metadata for the transcriptions index. */
export function ogForTranscriptions() {
return buildOgMeta({
title: "Transcriptions",
detail: "Lectures & conversations",
quote: CONTENT_TYPE_DESCRIPTIONS.transcriptions,
});
}
/** OG metadata for the disciples directory. */
export function ogForDisciples() {
return buildOgMeta({