Skip to content

Commit f1bd6ff

Browse files
authored
Shuffle pages (#57)
1 parent b696dc7 commit f1bd6ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Generator.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,7 @@ protected function pages()
218218
}
219219

220220
return in_array($page->url(), $this->config['exclude']);
221-
})->sortBy(function ($page) {
222-
return str_replace('/', '', $page->url());
223-
});
221+
})->shuffle();
224222
}
225223

226224
protected function makeContentGenerationClosures($pages, $request)

0 commit comments

Comments
 (0)