diff options
Diffstat (limited to 'config.php')
| -rw-r--r-- | config.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,6 +8,7 @@ return [ 'siteName' => 'David T. Sadler', 'siteDescription' => 'My little bit of the Internet', 'siteAuthor' => 'David T. Sadler', + 'perPage' => 2, // Collections 'collections' => [ @@ -15,10 +16,10 @@ return [ // Default author, if not provided in a post 'author' => 'David T. Sadler', 'sort' => '-date', - 'path' => 'blog/{filename}', + 'path' => '/{filename}', ], 'categories' => [ - 'path' => '/blog/categories/{filename}', + 'path' => '/categories/{filename}', 'posts' => function ($page, $allPosts) { return $allPosts->filter(function ($post) use ($page) { return $post->categories ? in_array($page->getFilename(), $post->categories, true) : false; |
