Make a proper g8 template