Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2015-11-16 17:15:17 +0300
committerAnthony Fok <foka@debian.org>2015-11-16 17:15:17 +0300
commit18a29964fad31e51a4aefa4523f6aaf00c829b92 (patch)
treeb6d389eed6b81d70be3e54b7ff706d705a649168 /tpl/template.go
parent452ffab461c34e9bfa93a9bef3c6cc0cc122eb8f (diff)
Fix trivial typos in code
Diffstat (limited to 'tpl/template.go')
-rw-r--r--tpl/template.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/template.go b/tpl/template.go
index 97a043441..00617ff10 100644
--- a/tpl/template.go
+++ b/tpl/template.go
@@ -66,14 +66,14 @@ func T() Template {
return tmpl
}
-// Resets the internal template state to it's initial state
+// InitializeT resets the internal template state to its initial state
func InitializeT() Template {
tmpl = New()
return tmpl
}
-// Return a new Hugo Template System
-// With all the additional features, templates & functions
+// New returns a new Hugo Template System
+// with all the additional features, templates & functions
func New() Template {
var templates = &GoHTMLTemplate{
Template: *template.New(""),