As a theme user, I would like to be able to create taxonomies and have the /_default/list.html (or a /_default/terms.html) page in the theme automatically handle them by showing the Term and then open to the pages that include that Term.
Problem/Solution
The ability to support all defined taxonomies (built in and user defined) automatically.
Alternatives Considered
Creating a separate Sidebar, Creating the taxonomy in the content folder.
Additional Context
I was able to get this working, though it was an inelegant solution by:
overriding partials/sidebar.html
in the sidebar-tree section:
adding another union to $items so that {{ $items = union $items (.context.Data.Pages) }}
inside the loop adding a check for the page kind and if Term, then ranging over all implementing sub pages
Another option I was exploring was to break the sidebar-tree section out into sub-partials based on page kind and then calling based on that.
Feature Description
As a theme user, I would like to be able to create taxonomies and have the /_default/list.html (or a /_default/terms.html) page in the theme automatically handle them by showing the Term and then open to the pages that include that Term.
Problem/Solution
The ability to support all defined taxonomies (built in and user defined) automatically.
Alternatives Considered
Creating a separate Sidebar, Creating the taxonomy in the content folder.
Additional Context
I was able to get this working, though it was an inelegant solution by:
Another option I was exploring was to break the sidebar-tree section out into sub-partials based on page kind and then calling based on that.