export const layout = "./base.tsx"; interface Data { toc: { text: string; slug: string; children: { text: string; slug: string; }[]; }[]; footnotes: { refId: string; content: string; id: string; }[]; } export default function ({ children, toc, footnotes }: Data & Lume.Data) { return ( <> {toc.length > 0 && ( )}
{children}
{footnotes.length > 0 && (
    {footnotes.map((note) => (
  1. ))}
)} ); }