resources/page: Fix typo - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit e309f82efe1885aa5b8030be48c36ba4432ddd7b
DIR parent 6f59d96bba4140af66ad7a7cdbb393cee594894f
HTML Author: Rosano <github.com@xeari.com>
Date: Sat, 10 Feb 2024 14:28:03 -0500
resources/page: Fix typo
Diffstat:
M resources/page/pagegroup.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git 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 {