Skip to content

nav:breadcrumbs includes home even though it shouldn't #12584

@espenlg

Description

@espenlg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions