Skip to content

Commit

Permalink
refactor(templateEngine): change template extension to html
Browse files Browse the repository at this point in the history
  • Loading branch information
akshanshgusain committed Sep 15, 2024
1 parent d0de0a2 commit c8a74ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templateEngine.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (t *TemplateEngine) JetPage(w http.ResponseWriter, r *http.Request, templat

td = t.defaultData(td, r)

tmpl, err := t.JetViews.GetTemplate(fmt.Sprintf("%s.jet", templateName))
tmpl, err := t.JetViews.GetTemplate(fmt.Sprintf("%s.html", templateName))
if err != nil {
log.Println(err)
return err
Expand Down

0 comments on commit c8a74ad

Please sign in to comment.