aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/urls
diff options
context:
space:
mode:
authorPhil Davis <[email protected]>2020-12-16 16:56:32 +0545
committerGitHub <[email protected]>2020-12-16 12:11:32 +0100
commit04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch)
tree585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /tpl/urls
parent21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff)
downloadhugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.tar.gz
hugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.zip
all: Fix minor typos
Diffstat (limited to 'tpl/urls')
-rw-r--r--tpl/urls/urls.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/urls/urls.go b/tpl/urls/urls.go
index 652256f44..1bba636ad 100644
--- a/tpl/urls/urls.go
+++ b/tpl/urls/urls.go
@@ -141,7 +141,7 @@ func (ns *Namespace) refArgsToMap(args interface{}) (map[string]interface{}, err
return m, nil
case []string:
if len(v) == 0 || len(v) > 2 {
- return nil, fmt.Errorf("invalid numer of arguments to ref")
+ return nil, fmt.Errorf("invalid number of arguments to ref")
}
// These where the options before we introduced the map type:
s = v[0]