feat: add transcriptions collection
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user