From 059cf035e28315a6860382ee667d624803dadc62 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Sun, 14 Jun 2020 22:42:45 +0100 Subject: Remove date from post URLs in production --- config.production.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3-13-gbd6f