From 9a190b18a410a9ddd8ead7666e19ece43157d4e1 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Sun, 24 May 2020 00:30:19 +0100 Subject: Add missing production configuration Looks like production settings are not merged recursivley for nested configuration. --- config.production.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.production.php b/config.production.php index 07047e3..3573916 100644 --- a/config.production.php +++ b/config.production.php @@ -10,6 +10,11 @@ return [ // Collections 'collections' => [ 'posts' => [ + // Default author, if not provided in a post + 'author' => 'David T. Sadler', + 'date' => $now->timestamp, + 'sort' => '-date', + 'path' => '/posts/{date|Y-m-d}/{filename}', 'filter' => function ($item) use ($now) { // Only publish posts that have a date and which is not in the future. $date = $item->getDate(); -- cgit v1.2.3-13-gbd6f