From 46ebf792c7f740906217a8c63c32da36ac507e1b Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Tue, 23 Jul 2024 12:22:38 +0530 Subject: [PATCH] Add a trailing slash for all posts Signed-off-by: baalajimaestro --- src/components/ListPosts.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ListPosts.vue b/src/components/ListPosts.vue index 39474e5..c802aa1 100644 --- a/src/components/ListPosts.vue +++ b/src/components/ListPosts.vue @@ -23,7 +23,7 @@ function getDate(date: string) { } function getHref(post: Post) { - return `/posts/${post.slug}` + return `/posts/${post.slug}/` } function isSameYear(a: Date | string | number, b: Date | string | number) {