[Template] fix missing post title in <title> tag of pages due to a bug in the theme