Skip to content

Commit 4481526

Browse files
committed
Card: Fixed link in cards
1 parent aad15ef commit 4481526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{{- end -}}
2525
{{- end -}}
2626
{{- if $titleUrl -}}
27-
<h2 class="card-title"><a href="{{- $titleUrl -}}">{{- $title -}}</a></h2>
27+
<h2 class="card-title"><a href="{{- printf "%s%s" .Page.Permalink $titleUrl -}}">{{- $title -}}</a></h2>
2828
{{- else -}}
2929
<h2 class="card-title">{{- $title -}}</h2>
3030
{{- end -}}

0 commit comments

Comments
 (0)