{prev.breadcrumbs.length > 2 && (
{prev.breadcrumbs.slice(1, -1).map(b => b.label).join(' / ')}
)}
Previous: {prev.frontmatter.title}
{prev.frontmatter.description &&
{prev.frontmatter.description}
}
) : null}
{next ? (
{next.breadcrumbs.length > 2 && (
{next.breadcrumbs.slice(1, -1).map(b => b.label).join(' / ')}
)}
Next: {next.frontmatter.title}
{next.frontmatter.description &&
{next.frontmatter.description}
}
) : null}