Add a trailing slash for all posts
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2024-07-23 12:22:38 +05:30
parent a56810bc31
commit 46ebf792c7
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -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) {