From e4fd80c627c9a63247373a5818f0628cb5ccc103 Mon Sep 17 00:00:00 2001 From: Javier Provecho Fernandez Date: Wed, 5 Jul 2017 16:22:58 +0200 Subject: [PATCH] docs(readme): add sections to template docs --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 80158c8f..ecba6662 100644 --- a/README.md +++ b/README.md @@ -645,6 +645,8 @@ templates/users/index.tmpl {{ end }} ``` +#### Custom Template renderer + You can also use your own html template render ```go @@ -658,6 +660,8 @@ func main() { } ``` +#### Custom Delimiters + You may use custom delims ```go @@ -666,7 +670,7 @@ You may use custom delims r.LoadHTMLGlob("/path/to/templates")) ``` -#### Add custom template funcs +#### Custom Template Funcs main.go