apply the minimal template