]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
all: Fix duplicate words in comments
authorEitan Adler <eitan@eitanadler.com>
Thu, 11 Apr 2024 07:31:33 +0000 (00:31 -0700)
committerGitHub <noreply@github.com>
Thu, 11 Apr 2024 07:31:33 +0000 (09:31 +0200)
cache/dynacache/dynacache.go
docs/data/docs.yaml
hugolib/content_map_page.go
markup/internal/attributes/attributes.go
tpl/urls/urls.go

index fed4d120e177448564d43e9ffeaae5af6f07052c..eab251e5d3aea260bd5fc39e6c45c3252401236f 100644 (file)
@@ -340,7 +340,7 @@ func GetOrCreatePartition[K comparable, V any](c *Cache, name string, opts Optio
                return p.(*Partition[K, V])
        }
 
-       // At this point, we don't know the the number of partitions or their configuration, but
+       // At this point, we don't know the number of partitions or their configuration, but
        // this will be re-adjusted later.
        const numberOfPartitionsEstimate = 10
        maxSize := opts.CalculateMaxSize(c.opts.MaxSize / numberOfPartitionsEstimate)
index b522ffbef0c511c7da32774d1902a389364dac47..82862e042cb9f18d6991c7c94c892a3262db04fa 100644 (file)
@@ -4581,5 +4581,5 @@ tpl:
         - urlize
         Args:
         - s
-        Description: URLize returns the the strings s formatted as an URL.
+        Description: URLize returns the strings s formatted as an URL.
         Examples: []
index 8682d5d4af0e3e0e69cb02409bc700bb01a11204..336fe197c36ecdad27f436fb5db9468e9ba16386 100644 (file)
@@ -1092,7 +1092,7 @@ func (h *HugoSites) resolveAndClearStateForIdentities(
                }
        }
 
-       // Drain the the cache eviction stack.
+       // Drain the cache eviction stack.
        evicted := h.Deps.MemCache.DrainEvictedIdentities()
        if len(evicted) < 200 {
                changes = append(changes, evicted...)
index 15bed7039ab5ff7df6e5a31c0a900b16effbae6e..9c147f7669334c77cfb1bda4c526169e2273c9a6 100644 (file)
@@ -136,7 +136,7 @@ type AttributesHolder struct {
        // Attributes considered to be an option (code blocks)
        options []Attribute
 
-       // What we send to the the render hooks.
+       // What we send to the render hooks.
        attributesMapInit sync.Once
        attributesMap     map[string]any
        optionsMapInit    sync.Once
index b7bfa22b9806a9bbdf5236e5306d2f6b30289e6a..8bd7514ec280dcc5d7885172747816e2cd335dd7 100644 (file)
@@ -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 {