cms icon indicating copy to clipboard operation
cms copied to clipboard

nav:breadcrumbs includes home even though it shouldn't

Open espenlg opened this issue 6 months ago • 0 comments

Bug description

I have a {{ nav:breadcrumbs include_home="false" }} in my template and it returns / even if I have specified it should not.

How to reproduce

<ul class="flex gap-2">
  {{ nav:breadcrumbs }}
    {{ if total_results != 0 }}
      <li><a href="{{ url }}">{{ title }}</a></li>
      {{ if !last }}>{{ /if }}
    {{ /if }}
  {{ /nav:breadcrumbs }}
</ul>

Logs


Environment

Environment
Application Name: Sjekkpunkt Medlemssider
Laravel Version: 12.31.1
PHP Version: 8.2.29
Composer Version: 2.8.10
Environment: local
Debug Mode: ENABLED
URL: sjekkpunkt-medlemssider.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 0
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 5.65.1 PRO

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

espenlg avatar Sep 26 '25 06:09 espenlg