Skip to content

Commit

Permalink
Merge pull request #10 from jupyter-book/agoose77/fix-url-folders
Browse files Browse the repository at this point in the history
πŸ“‚ Respect folder links in cards
  • Loading branch information
agoose77 authored Nov 15, 2024
2 parents 4c603be + 50e3452 commit 31ce07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/blog.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const blogPostsDirective = {
...descriptionItems,
...footerItems,
],
url: `/${name}`,
url: `/${path.toString().slice(0, -ext.length)}`,
};
});
return Array.from(nodes).slice(0, size);
Expand Down

0 comments on commit 31ce07f

Please sign in to comment.