guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: website: blog: Remove redundant slash in blog pos


From: Florian Pelz
Subject: branch master updated: website: blog: Remove redundant slash in blog post previews.
Date: Sun, 11 Jun 2023 03:05:25 -0400

This is an automated email from the git hooks/post-receive script.

pelzflorian pushed a commit to branch master
in repository guix-artwork.

The following commit(s) were added to refs/heads/master by this push:
     new 1e683d9  website: blog: Remove redundant slash in blog post previews.
1e683d9 is described below

commit 1e683d9981a047ea7a1b155c8818c19f8ce75842
Author: Florian Pelz <pelzflorian@pelzflorian.de>
AuthorDate: Sun Jun 11 08:41:30 2023 +0200

    website: blog: Remove redundant slash in blog post previews.
    
    Follow-up to bf07f52a57505c4b12fa6b384b79751e387ae624.
    
    * website/apps/blog/templates/components.scm (post-preview):
    Do not append yet another slash.
---
 website/apps/blog/templates/components.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/apps/blog/templates/components.scm 
b/website/apps/blog/templates/components.scm
index fb389b2..4a4d98d 100644
--- a/website/apps/blog/templates/components.scm
+++ b/website/apps/blog/templates/components.scm
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]