strata / frontend

The front of Headless CMS. Build an efficient front-end website taking content from multiple data sources.
MIT License
13 stars 5 forks source link

Generate breadcrumb for current page #66

Open simonrjones opened 4 years ago

simonrjones commented 4 years ago

Given a URL, return the hierarchical breadcrumb for the current page (page titles & URLs)

simonrjones commented 4 years ago

Requirement is:

E.g.

Home > About > Staff > John Doe

If level 4, display:

Home .. Staff > John Doe > Child page

See GOVUK component.

simonrjones commented 4 years ago

Linked to #63