summaryrefslogtreecommitdiff
path: root/config.production.php
diff options
context:
space:
mode:
Diffstat (limited to 'config.production.php')
-rw-r--r--config.production.php5
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();