// This should never happen, because ui.ValidateAndSetDefaults validates that the template works.
log.Println("[handler][SinglePageApplication] Failed to parse template. This should never happen, because the template is validated on start. Error:",err.Error())
http.Error(writer,"Failed to parse template. This should never happen, because the template is validated on start.",http.StatusInternalServerError)
// This should never happen, because ui.ValidateAndSetDefaults validates that the template works.
log.Println("[handler][SinglePageApplication] Failed to execute template. This should never happen, because the template is validated on start. Error:",err.Error())
http.Error(writer,"Failed to execute template. This should never happen, because the template is validated on start.",http.StatusInternalServerError)