From 6fd0c4b95eb82e5c60b3740dabcfe4590fe78d82 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 1 Jul 2017 13:33:48 +0200 Subject: fix(Responders): fix incorrect post URLs --- src/responders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/responders.js b/src/responders.js index e285018..70f7f90 100644 --- a/src/responders.js +++ b/src/responders.js @@ -38,7 +38,7 @@ function title(siteTitle, pageTitle) { const renderPostListItem = ctx => post => ({ a: { - href: ctx.getURL(post, post.basename), + href: ctx.getURL("post", post.basename), _text: post.data.get("title") } }); -- cgit 1.4.1