aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-06-27 16:13:00 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-06-27 16:13:00 +0200
commiteac3aa30af69be0cefa75e08c52c217f56d4eb4a (patch)
tree9c72b6e75881cc479cc56f7e5138ce541397df9a
parent02f2fd35c0087d753deeb19b8fdc8dd0d94c63ae (diff)
fix: Make external links details-dependent
-rw-r--r--haunt.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/haunt.scm b/haunt.scm
index 83bbfdd..128a408 100644
--- a/haunt.scm
+++ b/haunt.scm
@@ -92,7 +92,7 @@ non-Android users.")
watch functionality, but support is planned for user playlists, stream
downloads, offline mode, and more.")
(figure
- (img (@ (src "https://files.mianmoreno.com/tubo_channel.jpg")
+ (img (@ (src (format #f "https://files.~a/tubo_channel.jpg" %domain))
(style "width:100%")
(alt "Tubo channel page screenshot")
(class "post__image")))
@@ -140,7 +140,7 @@ to switch between at browser runtime.")
(p "It also has a timer functionality to automatically change them
depending on the time of the day.")
(figure
- (video (@ (src "https://files.mianmoreno.com/nx_tailor.mp4")
+ (video (@ (src (format #f "https://files.~a/nx_tailor.mp4" %domain))
(style "width:100%")
(autoplay "true")
(controls "true")
@@ -263,15 +263,15 @@ describe my personal projects and contributions.")))))
"fa-solid fa-code")
(cons (string-append "mailto:" %email)
"fa-solid fa-envelope")
- (cons "https://linkedin.com/in/mianmoreno"
+ (cons (format #f "https://linkedin.com/in/~a" %username)
"fa-brands fa-linkedin")
(cons (string-append "https://git." %domain)
"fa-brands fa-git-alt")
(cons "https://sr.ht/~mmoreno"
"fa-regular fa-circle")
- (cons "https://github.com/mianmoreno"
+ (cons (format #f "https://github.com/~a" %username)
"fa-brands fa-github")
- (cons "https://gitlab.com/mianmoreno"
+ (cons (format #f "https://gitlab.com/~a" %username)
"fa-brands fa-gitlab"))))
(div (@ (class "footer__wrapper"))
"© "