Closes #1597: Added possibility to return a new template name from `html-page-context`.

--HG--
extra : rebase_source : 6348f62627b2543b4699d3a683ec1615f695c377