From d74fe5373318d7921fd7347d89fbb36ca499e7ce Mon Sep 17 00:00:00 2001 From: Jimmy Breck-McKye Date: Sun, 17 Dec 2017 16:26:44 +0000 Subject: [PATCH] Rationalise URLs --- layout/partials/post-list.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/partials/post-list.ejs b/layout/partials/post-list.ejs index 352023f..1482042 100644 --- a/layout/partials/post-list.ejs +++ b/layout/partials/post-list.ejs @@ -19,7 +19,7 @@ yearText: model.date.format('YYYY'), datetime: date_xml(model.date), target: model.link ? '_blank': '', - url: url_for(model.canonical_path) + url: url_for(model.canonical_path).split('index.html')[0] }); acc.push(entry); return acc;