Skip to content

Commit e193089

Browse files
authored
Merge pull request #148 from caryhgq/patch-1
Update bad template in templates.md
2 parents 786811c + fd251c4 commit e193089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/content/guide/templates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Example below shows how to use Go `html/template`:
5151

5252
```go
5353
func Hello(c echo.Context) error {
54-
return c.Render(http.StatusOK, "hello", "World")
54+
return c.Render(http.StatusOK, "hello.html", "World")
5555
}
5656
```
5757

0 commit comments

Comments
 (0)