Adds page titles to all relevant routes including dynamic pages