--- import { getEntry } from 'astro:content' import { render } from 'astro:content' const aboutEntry = await getEntry('about', 'about') // Check if there is actual content (excluding comments) const hasContent = aboutEntry?.body ? aboutEntry.body.replace(//g, '').trim().length > 0 : false const { Content } = hasContent && aboutEntry ? await render(aboutEntry) : { Content: null } --- { hasContent && Content && (