We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db4bdc6 commit 37ff4c5Copy full SHA for 37ff4c5
themes/hugoplate/layouts/partials/components/blog-card.html
@@ -1,7 +1,9 @@
1
<div class="bg-body dark:bg-darkmode-body">
2
{{ $image:= .Params.image }}
3
{{ if $image }}
4
- {{ partial "image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "mb-6 w-full rounded") }}
+ <a href="{{ .RelPermalink }}">
5
+ {{ partial "image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "mb-6 w-full rounded") }}
6
+ </a>
7
{{ end }}
8
<h4 class="mb-3">
9
<a href="{{ .RelPermalink }}">
0 commit comments