This seem to be the only good example of how to make a hook that creates a new page based on the adding or editing of a field in another page.
Is there any other documentation on this? Or on how to use hooks?
In my case I am thinking of using a hook to create a new page (in an adjacent folder to the one I am in) whenever a new tag is added to a tag-field, and also when it is modified etc.
What I am trying to do is to replace how kirby’s tag filter works, eg kirby.site/tags:value to kirby.site/tags/value.
I tried to do this first with a route, by modifying the url—but did not manage to reach any good result. Then I thought that by doing a container page gathering as subpages all tags used in another set of subpages would do the trick, but it seems I am working against kirby’s own grain.
The reason why I am pushing for this is that I’d like to have as final urls
Do you think is there any way to accomplish this in a way that the final user managing the website does not have to entry multiple times the same informations?