Moved html template to root level folder & ignored it from git linguist

This commit is contained in:
2022-12-03 12:28:47 +01:00
parent 1030df32f7
commit 899f61b7d8
5 changed files with 211 additions and 210 deletions

View File

@@ -25,7 +25,7 @@ type ReceiptPageData struct {
}
func serveTemplate(response http.ResponseWriter, request *http.Request) {
tmpl := template.Must(template.ParseFiles("mail/mail-template_order-confirmation.html"))
tmpl := template.Must(template.ParseFiles("mail-templates/order-confirmation.html"))
// tmpl := template.Must(w)
data := ReceiptPageData{
PageTitle: "Planetposen purchase",