Expose parent category slug?
When a category has subcategories, is there a way to expose the parent category as an
In a category template
perch:showall reveals these two IDs
automation is a subcategory of
But there's no unique
ID for the parent category?
Something like this would be useful;
I'm creating a sitemap template and it'd be really useful if I could make use of the parent category.
Typically I'd hardcode the path up to the
catSlug, but the structure of one my websites is setup a bit different.
My category sitemap template needs to be structured like this:
<loc>https://website.com/<perch:category id="catParentSlug">/solutions/<perch:category id="catSlug"></loc>
Could this be considered for a future release of Perch/Runway?