-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breadcrumbs #1999
Comments
I just found this example in the Hugo docs. |
Yes, did find that myself as well. The code is written a little bit different, but produces the same result 😃 |
Merged
Please constrain the scope of this initial bread-crumb proposal and associated PR to adding an option for bread-crumb navigation above the title of |
Done! |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Is your feature request related to a problem? Please describe.
After talking to @rodrigoalcarazdelaosa about implementing breadcrumbs on his page, I figured others might also be interested in this feature. I'm trying to gauge the interest with this feature request.
Describe the solution you'd like
My current implementation relies on
.Parent
for getting titles and permalinks. The partial recursively crawl through the path back tohome
. The breadcrumbs will only be shown if the site parameterbreadcrumb
is set totrue
in the configuration.I've already looked into to implementing this. So far I've managed to place breadcrumbs on "normal pages", in "books" and in "docs".
I haven't looked too much into widget pages and author pages yet.
Additional context
Check out this link (https://chrede88.github.io/Quantum-Devices-Group/post/testpost/) for my current implementation.
Links to code:
https://github.com/Chrede88/wowchemy-hugo-modules/blob/breadcrumb/wowchemy/layouts/partials/breadcrumb.html
https://github.com/Chrede88/wowchemy-hugo-modules/blob/breadcrumb/wowchemy/layouts/partials/breadcrumb_helper.html
The text was updated successfully, but these errors were encountered: