]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
resources/page: Fix typo
authorRosano <github.com@xeari.com>
Sat, 10 Feb 2024 19:28:03 +0000 (14:28 -0500)
committerGitHub <noreply@github.com>
Sat, 10 Feb 2024 19:28:03 +0000 (21:28 +0200)
resources/page/pagegroup.go

index e691a112ea9b2456868dc495b9ff952e93572974..7129fae17bc9353f46c271e651e5f885340e2a03 100644 (file)
@@ -205,7 +205,7 @@ func (p Pages) GroupByParam(key string, order ...string) (PagesGroup, error) {
                }
        }
        if !tmp.IsValid() {
-               return nil, errors.New("there is no such param")
+               return nil, errors.New("there is no such param")
        }
 
        for _, e := range p {