From 6fc7cd104e4bfca72ed8bdec63bb11b81347cc0d Mon Sep 17 00:00:00 2001 From: Peter Zam Date: Tue, 15 Sep 2020 18:37:07 +0630 Subject: [PATCH] Update templates.md --- website/content/guide/templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/guide/templates.md b/website/content/guide/templates.md index 33449a3a..a46e8ea4 100644 --- a/website/content/guide/templates.md +++ b/website/content/guide/templates.md @@ -112,7 +112,7 @@ func main() { // Named route "foobar" e.GET("/something", func(c echo.Context) error { - return c.Render(http.StatusOK, "something.html", map[string]interface{}{ + return c.Render(http.StatusOK, "template.html", map[string]interface{}{ "name": "Dolly!", }) }).Name = "foobar"