From 07ee93a14d735581ef9bd2b7d363e2f2229f51e2 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Sat, 1 Apr 2017 09:27:38 -0700 Subject: [PATCH] Closes #861 Signed-off-by: Vishal Rana --- website/content/guide/templates.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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`: