export default function({ title, description, children, comp, metas, links, author, date }) { return ( {title} {Array.isArray(metas) && metas.length > 0 && metas.map((m,index) => ) } {Array.isArray(links) && links.length > 0 && links.map((l,index) => ) } { comp.navbar() } { comp.header({title, description, author, date}) }
{children}
{ comp.footer() } ); }