hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 2ac9817eae7ddbb84c9d17c998d3ed004acc4b95
parent 4352156a2730eddda6b05b66b73d910e4ac9abff
Author: bogem <albertnigma@gmail.com>
Date:   Thu, 24 Nov 2016 20:30:52 +0100

helpers: Add doc to Language.SetParam

Diffstat:
Mhelpers/language.go | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/helpers/language.go b/helpers/language.go
@@ -93,6 +93,8 @@ func (l *Language) Params() map[string]interface{} {
 	return l.params
 }
 
+// SetParam sets param with the given key and value.
+// SetParam is case-insensitive.
 func (l *Language) SetParam(k string, v interface{}) {
 	l.params[strings.ToLower(k)] = v
 }