aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorEitan Adler <[email protected]>2024-04-11 00:31:33 -0700
committerGitHub <[email protected]>2024-04-11 09:31:33 +0200
commitbf0b14036471db89c90e21c31cbf2f732ca40ab9 (patch)
treee811b341cc3344d856dfd33ee41888ae0f28c6e4 /tpl
parente9b8bec433238df4ae081528bb347dec7f029fd4 (diff)
downloadhugo-bf0b14036471db89c90e21c31cbf2f732ca40ab9.tar.gz
hugo-bf0b14036471db89c90e21c31cbf2f732ca40ab9.zip
all: Fix duplicate words in comments
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 {