Feature: Add page titles to most routes
I've found it difficult to navigate the router history while testing a site as every page is titled "Pages CMS".
I've had a stab at creating more meaningful page titles. I've had to disable the page title for the collection/[name] route as it prevented navigation to child routes. And I've not loaded content to get the correct title opting instead for the last fragment of the path. Regardless--I now find this makes navigating back through the history more usable.
I've had a quick look, I think I can give it a try later on this week when I prepare the new release. I may reimplement myself as there's been a fair amount of changes to the codebase in the past 2 weeks.
@queenvictoria Much appreciated. Could you rework this PR to be against the development branch? I don't work against main directly.
https://github.com/pages-cms/pages-cms/blob/main/CONTRIBUTING.md
That's updated thanks @hunvreus . Please note: the first file has been disabled as it causes a router error. I'm not sure why but perhaps you can look: https://github.com/pages-cms/pages-cms/pull/227/files#diff-d6fceb6b2aff384198ff3a4cdcee3948cce4cd0577ec840dab862a32d785e511R2-R4