if required any updates in this please let me know.
Hmm, yeah - that doesn't work for me I'm afraid; it's mixing content with code.
The titles should be defined in the HTML pages themselves. We do that everywhere else by including a template block like the following in the lowest level content: