Add dynamic title injection for pages