I’m using a
pages field to store authors (which are just plain old pages) in an article. Because the
pages field stores pages as slugs, that means right now if I change the url of a page, the link to the author needs to be added again.
I already have a page model for the author page that returns all contributions of an author as a collection, so I guess I could use a
page.changeSlug:before hook and change all
author values on those pages. Just not sure about how this will behave in terms of performance.
Also I’m cross-referencing pages at a bunch of places throughout the entire site, so I’m wondering if it’s possible to entirely change the way that the
pages field stores values, or if there exists some plugin already.