You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not a question, feature request, or anything other than a bug report directly related to Hugo Blox Builder. Please post those things on Discord: https://discord.gg/z8wNYzb
Description
I tried to set the show_breadcrumb: true Page Feature to show_breadcrumb: false in an attempt to hide breadcrumb navigation from certain pages that automatically show it in the Tailwind templates, like the Docs pages of the CV template. However, that approach fails to provide the desired effect. I've also tried removing the line completely, too, with the same (non-)effect. There just doesn’t seem to be any means of hiding the breadcrumb navigation in Hugo Blox templates, particularly those that have "Docs" capability, on pages you wish to hide it on. I am primarily focused on the Docs pages because those are the ones where I've observed this possible bug.
Is there a way to make this desired change easily via Page Features that I am not aware of? Otherwise, it seems that this option to remove or toggle off does not exist.
Previous related developments in Hugo Blox templates found while searching for duplicate issues: #1999 (Desire for breadcrumb navigation expressed) #2009 (Breadcrumb navigation capabilities introduced) #2395 (Hugo Blox incorporates Hugo Cascade capability and impact on breadcrumb navigation page feature functionality, specifically)
Edit a fresh Hugo Blox template with Docs capability, such as the Documentation template linked on the Hugo Blox website.
Run hugo command to build the site scaffolding on the template seed files. Using any Hugo Blox-compatible version of Hugo should suffice.
Run hugo server -D command to run a local instance of the site to observe saved changes of development.
Open hugo.yaml and locate the Hugo Cascade section of "Page Options" for the "Docs folder options" (lines 14-22).
On line 18, set show_breadcrumb: true to show_breadcrumb: false and save the change.
Observe that breadcrumb navigation is not removed from the resulting updated site.
On line 18, completely remove the show_breadcrumb line from hugo.yaml and save the change.
Revisit step 6.
Expected Result
The expected result is for the Breadcrumb navigation to be able to be toggled off and removed from the affected page (in the case that the change is made to a single page's front matter) or pages (in the case of a Hugo Cascade).
Actual Result
No change to the breadcrumb navigation appearing on pages of the site happens.
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Microsoft Edge
Which Hugo Blox template are you using?
Documentation (happens in my Academic CV Pro template site, too)
What version of Hugo are you using?
Hugo Extended v0.139.5 / v0.139.4 (although I've seen this in all previous versions I've run, too - both officially Hugo Blox-compatible versions and later versions)
The text was updated successfully, but these errors were encountered:
burkebrunson
changed the title
Unable to remove breadcrumb navigation from pages like Docs in Tailwind template
Unable to remove breadcrumb navigation from Docs pages in Tailwind template
Dec 17, 2024
Preliminary Checks
Description
I tried to set the
show_breadcrumb: true
Page Feature toshow_breadcrumb: false
in an attempt to hide breadcrumb navigation from certain pages that automatically show it in the Tailwind templates, like the Docs pages of the CV template. However, that approach fails to provide the desired effect. I've also tried removing the line completely, too, with the same (non-)effect. There just doesn’t seem to be any means of hiding the breadcrumb navigation in Hugo Blox templates, particularly those that have "Docs" capability, on pages you wish to hide it on. I am primarily focused on the Docs pages because those are the ones where I've observed this possible bug.Is there a way to make this desired change easily via Page Features that I am not aware of? Otherwise, it seems that this option to remove or toggle off does not exist.
Previous related developments in Hugo Blox templates found while searching for duplicate issues:
#1999 (Desire for breadcrumb navigation expressed)
#2009 (Breadcrumb navigation capabilities introduced)
#2395 (Hugo Blox incorporates Hugo Cascade capability and impact on breadcrumb navigation page feature functionality, specifically)
Reproduction Link
https://github.com/burkebrunson/test-doc
Steps to Reproduce
hugo
command to build the site scaffolding on the template seed files. Using any Hugo Blox-compatible version of Hugo should suffice.hugo server -D
command to run a local instance of the site to observe saved changes of development.hugo.yaml
and locate the Hugo Cascade section of "Page Options" for the "Docs folder options" (lines 14-22).show_breadcrumb: true
toshow_breadcrumb: false
and save the change.show_breadcrumb
line fromhugo.yaml
and save the change.Expected Result
The expected result is for the Breadcrumb navigation to be able to be toggled off and removed from the affected page (in the case that the change is made to a single page's front matter) or pages (in the case of a Hugo Cascade).
Actual Result
No change to the breadcrumb navigation appearing on pages of the site happens.
What Hugo Module versions does your site use?
Link to go.mod file
What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Microsoft Edge
Which Hugo Blox template are you using?
Documentation (happens in my Academic CV Pro template site, too)
What version of Hugo are you using?
Hugo Extended v0.139.5 / v0.139.4 (although I've seen this in all previous versions I've run, too - both officially Hugo Blox-compatible versions and later versions)
The text was updated successfully, but these errors were encountered: