diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2020-06-14 22:42:45 +0100 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2020-06-14 22:42:45 +0100 |
| commit | 059cf035e28315a6860382ee667d624803dadc62 (patch) | |
| tree | 9ee206dcf6b38196d7c263706d8de04cc100e312 | |
| parent | b47c34a79f63ff9ec10793834315a446a4026184 (diff) | |
Remove date from post URLs in production
| -rw-r--r-- | config.production.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.production.php b/config.production.php index 30a1b7b..fd91313 100644 --- a/config.production.php +++ b/config.production.php @@ -13,7 +13,7 @@ return [ // Default author, if not provided in a post 'author' => 'David T. Sadler', 'sort' => '-date', - 'path' => '/posts/{date|Y-m-d}/{filename}', + 'path' => '/posts', 'filter' => function ($item) use ($now) { // Only publish posts that have a date and which is not in the future. $date = $item->getDate(); |
