Breadcrumbs
NOTE: Breadcrumbs are not used on the FAI site by design.
This functionality has three cases:
- Default: Normal breadcrumb behaviour and display on all sites
- Hide breadcrumbs: Hide the breadcrumbs module on a page using a tag
- Hide from breadcrumbs: Hide the page from the breadcrumb structure. Used for pages that should not appear on the breadcrumb path. i.e. a folder page with no content.
Dev setup:
- Add _z_breadcrumb.html
- Add _z_breadcrumb.scss
For Developer:\
- On _z_content.html include the breadcrumb file right before the
{% yield %}-
{% include "z_breadcrumb" %}
-
Nationbuilder CMS setup:
- For default behaviour, we just need to add both files.
- To hide breadcrumbs from a single page, add the tag hide_breadcrumbs
- To hide a single page from the breadcrumbs path, add the tag hide_from_breadcrumbs