diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2020-05-24 00:30:19 +0100 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2020-05-24 00:30:19 +0100 |
| commit | 9a190b18a410a9ddd8ead7666e19ece43157d4e1 (patch) | |
| tree | 8658540c0a6c928a7135663efdce809adb3d74fa /config.production.php | |
| parent | fb640735404421b57aae9b6e369cd2f5b9970bfe (diff) | |
Add missing production configuration
Looks like production settings are not merged recursivley for nested
configuration.
Diffstat (limited to 'config.production.php')
| -rw-r--r-- | config.production.php | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |
