add the head templates