From b3a26e55ad6546eceb747cc69adad52840416f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Sun, 25 Jan 2026 10:10:12 +0100 Subject: [PATCH] Docs: fix 'Duplicate id warning-data-bs-title-vs-title found' --- site/src/libs/content.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/libs/content.ts b/site/src/libs/content.ts index 1e3a171d1565..084af32732dc 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) {