summaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'config.php')
-rw-r--r--config.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.php b/config.php
index 6dcd5d2..6ec7672 100644
--- a/config.php
+++ b/config.php
@@ -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;