in Kirby 2.2 I’m now able to add custom Fields to users blueprints. I’m running my blog on Kirby and have around 5 to 10 editors. Now I can add the twitter account, bio and so on directly to the users own site.
The question is: how can I display the authors profile pages best? Till 2.1 I used a hack that i created a new page with the same username for each author (so that the URI is /authors/schmidtflo). On the article I was able to select the author from the existing users, and I get the connection to the authors profile page with the username. This is now not nessecary anymore.
What I want: I want automatically generated author profile pages (getting the informations from the users account page) and display them with the URI /author/username. How do I do it best?
I think the best way to achieve this would be a router that calls a template and passes the user name from the url to the template. Not tested though.
You can, of course, also create real pages automatically by using a hook, but I don’t think this is necessary (and would just mean duplicating content)
What are you doing with the page variable in the header snippet? Depending on that you might be able to inject a page variable (e.g. for home) into the template and snippet.