Change acf front page location logic to be based on template rather than page id