google / docsy

A set of Hugo doc templates for launching open source content.
https://docsy.dev
Apache License 2.0
2.57k stars 893 forks source link

How hide Breadcrumb navigation on some docs pages ? #983

Open Flashpok opened 2 years ago

Flashpok commented 2 years ago

Hi, Is it possible to hide breadcrumb navigation for the root file of the doc (_index.md) ?

Example : I want to display Breadcrumb navigation if the doc (content A) have a child content (content B) : content A-> content B But I want to hide if I visit the main content A page .

thank you, C.

LisaFC commented 2 years ago

@chalin, we should be able to do this, right?

chalin commented 2 years ago

Yes, there is some flexibility in the configuration. Is your site publicly available so that I can take a look and have a better idea of what you are trying to achieve?

at055612 commented 2 years ago

You can hide single level bread crumbs using css (see https://github.com/google/docsy/issues/857#issuecomment-1018442696), but I would agree it would be nice if it was a configurable thing.