shithub: hugo

Download patch

ref: 2ac9817eae7ddbb84c9d17c998d3ed004acc4b95
parent: 4352156a2730eddda6b05b66b73d910e4ac9abff
author: bogem <albertnigma@gmail.com>
date: Thu Nov 24 15:30:52 EST 2016

helpers: Add doc to Language.SetParam

--- a/helpers/language.go
+++ b/helpers/language.go
@@ -93,6 +93,8 @@
 	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
 }
--