about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/responders.js2
1 files changed, 1 insertions, 1 deletions
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")
   }
 });