mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -587,7 +587,7 @@ func (p *testPage) WordCount(context.Context) int {
|
||||
func createTestPages(num int) Pages {
|
||||
pages := make(Pages, num)
|
||||
|
||||
for i := 0; i < num; i++ {
|
||||
for i := range num {
|
||||
m := &testPage{
|
||||
path: fmt.Sprintf("/x/y/z/p%d.md", i),
|
||||
weight: 5,
|
||||
|
Reference in New Issue
Block a user