Skip to content

Directory-Breadcrumb mapping #627

Closed Answered by oscarotero
thdoan asked this question in Q&A
Discussion options

You must be logged in to vote

The theme uses item.slug if there isn't any index.html file in the directory. Otherwise it uses the page title.
If your url structure is, for example:

/
/about/
/about/team/
/about/team/laura/

The breadcrumb should display the title page of every directory. But if there are intermediate directories, without pages, like

/
/about/
/about/team/laura/

The folder /about/team/ doesn't have a page, so the breadcrumb doesn't know what to show and use the slug. See the documentation for more info.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by thdoan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants