Breadcrumb Navigation

How to add breadcrumb navigation to your Doks website.

On this page

Enable

Breadcrumb navigation support is switched off per default. Activate it by setting breadCrumb = true in ./config/_default/params.toml.

Example

Breadcrumb Navigation

HTML

  1. <nav aria-label="breadcrumb">
  2. <ol class="breadcrumb">
  3. <li class="breadcrumb-item"><a href="https://getdoks.org/">Home</a></li>
  4. <li class="breadcrumb-item"><a href="https://getdoks.org/docs/">Docs</a></li>
  5. <li class="breadcrumb-item"><a href="https://getdoks.org/docs/prologue/">Prologue</a></li>
  6. <li class="breadcrumb-item active" aria-current="page">Introduction</li>
  7. </ol>
  8. </nav>

Note, this is an optional user breadcrumb trail — next to the already implemented JSON-LD for rich results.