Use strings instead of string.Template objects as HTML templates