Thank You @SantoshSai @AmitVishwakarma @giuseppebag , All the approaches work fine. I got the idea from all of them, retrieved the template type, and then, only for that template type, set the text property as the page title in the Sling model. I can't mark all the answers as correct above, but than...