Skip to content

Allow showing or hiding breadcrumb trail on a page #509

@CrispinF

Description

@CrispinF

See https://www.cloudscribe.com/forum/thread/how-can-i-have-breadcrumbs-on-some-page-and-not-others

Needs a bit of thought about how best to implement this. We wouldn't want to show a page setting that appears to switch on a breadcrumb trail if it's not present in the theme layout. Can SimpleContent be aware as to whether the theme does or does not include the breadcrumb component?
This is included by default in our bootstrap 4 sample themes as follows:
@await Component.InvokeAsync("Navigation", new { viewName = "Bootstrap4Breadcrumbs", filterName = NamedNavigationFilters.Breadcrumbs, startingNodeKey = "" })

But we could have a page setting that hides the breadcrumb - that would not be as confusing, as an editor would not use it if no breadcrumbs are displaying on the site. Ideally the setting would only appear if breadcrumbs are included in the layout - see previous question!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions