:fix: bug in application template in adding condition on displaying header/footer parts if they exist