use front page template only if set static page