aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-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 b7bfa22b9..8bd7514ec 100644
--- a/tpl/urls/urls.go
+++ b/tpl/urls/urls.go
@@ -70,7 +70,7 @@ func (ns *Namespace) RelURL(s any) (string, error) {
return ns.deps.PathSpec.RelURL(ss, false), nil
}
-// URLize returns the the strings s formatted as an URL.
+// URLize returns the strings s formatted as an URL.
func (ns *Namespace) URLize(s any) (string, error) {
ss, err := cast.ToStringE(s)
if err != nil {