diff --git a/layouts/shortcodes/card.html b/layouts/shortcodes/card.html
index 751614da..eda06e30 100644
--- a/layouts/shortcodes/card.html
+++ b/layouts/shortcodes/card.html
@@ -11,11 +11,11 @@
{{- end -}}
{{- $external := strings.HasPrefix $link "http" -}}
-
+{{- $href := cond (strings.HasPrefix $link "/") ($link | relURL) $link -}}