You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
* 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.
The text was updated successfully, but these errors were encountered: