mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
helpers: Add doc to Language.SetParam
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
4352156a27
commit
2ac9817eae
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user