diff --git a/website/content/guide/templates.md b/website/content/guide/templates.md index e63d4970..3ca5f123 100644 --- a/website/content/guide/templates.md +++ b/website/content/guide/templates.md @@ -9,8 +9,7 @@ description = "How to use templates in Echo" ## Template Rendering `Context#Render(code int, name string, data interface{}) error` renders a template -with data and sends a text/html response with status code. Templates can be registered -using `Echo.SetRenderer()`, allowing us to use any template engine. +with data and sends a text/html response with status code. Templates can be registered by setting `Echo.Renderer`, allowing us to use any template engine. Example below shows how to use Go `html/template`: