I need some help with getting the breadcrumb menu fitting my needs. I want it to be:
For the projects page I want.
Project / All
And for project page.
Project / Project name
I have excluded home
from the code.
<nav class="breadcrumb" role="navigation">
<ul>
<?php foreach($site->breadcrumb()->not('home') as $crumb): ?>
<li>
<a href="<?php echo $crumb->url() ?>">
<?php echo html($crumb->title()) ?>
</a>
</li>
<?php endforeach ?>
</ul>
</nav>
Anyone that can give me idea how to approach this? In simplest Kirby way.