Skip to content

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mak Moinee committed Oct 11, 2024
1 parent c9eaea9 commit a5ac93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gotmpl/gotmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (vs *viewService) Render(w http.ResponseWriter, data interface{}) error {
}

func layoutFiles(layoutDir string) []string {
files, err := filepath.Glob(layoutDir + "/*.gohtml")
files, err := filepath.Glob(layoutDir + "/*.html")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit a5ac93c

Please sign in to comment.