in reply to
Hello Tommi, thanks for your comment.
If a page is mostly text, I could do as you suggested, but when pages have a lot of photos or source code blocks (quite common in my blog) then I prefer to keep everything in one page and share the common parts.
Other than that, I personally enjoyed working on the solution to this specific problem.
This post accepts webmentions. Do you have the URL to your post?