export const layout = "./base.tsx"; export default function ({ children, toc, footnotes }) { return ( <> {toc.length > 0 && ( )}
{children}
{footnotes.length > 0 && (
    {footnotes.map((note) => (
  1. ))}
)} ); }