website: blog: Remove redundant slash in blog post previews.

Follow-up to bf07f52a57.

* website/apps/blog/templates/components.scm (post-preview):
Do not append yet another slash.
This commit is contained in:
Florian Pelz 2023-06-11 08:41:30 +02:00
parent c392a144df
commit 1e683d9981
No known key found for this signature in database
GPG Key ID: 300888CB39C63817
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
A post object (see Haunt's manual for more information)."
`(a
(@ (class "item-preview")
(href ,(guix-url (url-path-join (post-url-path post) ""))))
(href ,(guix-url (post-url-path post))))
(h3
(@ (lang "en"))
,(post-ref post 'title))