From: Julien Déramond Date: Mon, 26 Jan 2026 19:21:50 +0000 (+0100) Subject: Docs: fix 'Duplicate id warning-data-bs-title-vs-title found' (#42038) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ecb4f2970e5d10fa028e6ff3010be999edf2084;p=thirdparty%2Fbootstrap.git Docs: fix 'Duplicate id warning-data-bs-title-vs-title found' (#42038) --- diff --git a/site/src/libs/content.ts b/site/src/libs/content.ts index 1e3a171d15..084af32732 100644 --- a/site/src/libs/content.ts +++ b/site/src/libs/content.ts @@ -1,4 +1,4 @@ -import { getCollection, getEntry, getEntryBySlug } from 'astro:content' +import { getCollection, getEntry } from 'astro:content' export const docsPages = await getCollection('docs') export const callouts = await getCollection('callouts') @@ -9,7 +9,7 @@ export const aliasedDocsPages = await getCollection('docs', ({ data }) => { }) export function getCalloutByName(name: string) { - return getEntryBySlug('callouts', name) + return getEntry('callouts', name) } export function getDetailsByName(name: string) {