of the pages were more than just the site name, for easy identification when multiple tabs from the same site are open.
My ideal system would be this:
Page titles can be set in the realms config, using a jinja template with the WikiPage as context. e.g. MySiteTitle - {{page.title}}
Page titles would be equal to the first H1 by default
Page titles could be overridden in the yaml metainfo block
How to implement nicely I'm less sure on. We don't actually parse the markdown in python in order to pass it to the python level render. I'm less familiar with javascript, not sure if it's easy to grab the first h1 using markdownit and edit the page title after loading.
Just looking for some feedback right now if anyone has some, I may give some implementations a try if I get inspired.
It would be nice if the
My ideal system would be this:
MySiteTitle - {{page.title}}
How to implement nicely I'm less sure on. We don't actually parse the markdown in python in order to pass it to the python level render. I'm less familiar with javascript, not sure if it's easy to grab the first h1 using markdownit and edit the page title after loading.
Just looking for some feedback right now if anyone has some, I may give some implementations a try if I get inspired.