diff options
author | Alan Pearce | 2017-07-01 13:33:48 +0200 |
---|---|---|
committer | Alan Pearce | 2017-07-01 13:33:48 +0200 |
commit | 6fd0c4b95eb82e5c60b3740dabcfe4590fe78d82 (patch) | |
tree | d428d234cc224ff12fd6a59d41ff806391917beb /src | |
parent | ab3c5ffb57980359a186936aa6fc2894f58eb625 (diff) | |
download | homestead-6fd0c4b95eb82e5c60b3740dabcfe4590fe78d82.tar.lz homestead-6fd0c4b95eb82e5c60b3740dabcfe4590fe78d82.tar.zst homestead-6fd0c4b95eb82e5c60b3740dabcfe4590fe78d82.zip |
fix(Responders): fix incorrect post URLs
Diffstat (limited to 'src')
-rw-r--r-- | src/responders.js | 2 |
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") } }); |