aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
authorRosano <[email protected]>2024-02-10 14:28:03 -0500
committerGitHub <[email protected]>2024-02-10 21:28:03 +0200
commite309f82efe1885aa5b8030be48c36ba4432ddd7b (patch)
treeb0befed747baa4d01660f4f7980459bcfa5502a4 /resources
parent6f59d96bba4140af66ad7a7cdbb393cee594894f (diff)
downloadhugo-e309f82efe1885aa5b8030be48c36ba4432ddd7b.tar.gz
hugo-e309f82efe1885aa5b8030be48c36ba4432ddd7b.zip
resources/page: Fix typo
Diffstat (limited to 'resources')
-rw-r--r--resources/page/pagegroup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/page/pagegroup.go b/resources/page/pagegroup.go
index e691a112e..7129fae17 100644
--- a/resources/page/pagegroup.go
+++ b/resources/page/pagegroup.go
@@ -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 a param")
+ return nil, errors.New("there is no such param")
}
for _, e := range p {