From: Cyrill Schumacher Date: Sun, 11 Jan 2015 21:59:42 +0000 (+1100) Subject: Adding getJson and getCsv to funcMap X-Git-Tag: v0.13~22 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c168666b;p=brevno-suite%2Fhugo Adding getJson and getCsv to funcMap --- diff --git a/tpl/template.go b/tpl/template.go index 3377b9a3..320f969c 100644 --- a/tpl/template.go +++ b/tpl/template.go @@ -1300,6 +1300,8 @@ func init() { "replace": Replace, "trim": Trim, "dateFormat": DateFormat, + "getJson": GetJson, + "getCsv": GetCsv, } }