Skip to content

Commit 47f481c

Browse files
authored
Consistently add trailing slashes (#158)
1 parent 68009b7 commit 47f481c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/blog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const blogEntryName = (blogPostEntry: CollectionEntry<"blog">) => {
6969

7070
// The URL/path for an entry, i.e. basically /posts/<name>
7171
export const blogEntryPath = (blogPostEntry: CollectionEntry<"blog">) => {
72-
return `/posts/${blogEntryName(blogPostEntry)}`;
72+
return `/posts/${blogEntryName(blogPostEntry)}/`;
7373
};
7474

7575
// A (unique) transition name to be used for the post's image

0 commit comments

Comments
 (0)