Add a trailing slash for all posts
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
a56810bc31
commit
46ebf792c7
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ function getDate(date: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getHref(post: Post) {
|
function getHref(post: Post) {
|
||||||
return `/posts/${post.slug}`
|
return `/posts/${post.slug}/`
|
||||||
}
|
}
|
||||||
|
|
||||||
function isSameYear(a: Date | string | number, b: Date | string | number) {
|
function isSameYear(a: Date | string | number, b: Date | string | number) {
|
||||||
|
|
Loading…
Reference in a new issue