Skip to content

Commit dfb77de

Browse files
testing link on image
1 parent 1224fa8 commit dfb77de

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
<a href="{{ if not (strings.HasPrefix .Destination "http") }}{{ .Page.RelPermalink }}{{end}}{{ .Destination | safeURL }}">
12
<img
2-
src="{{ .Destination | safeURL }}"
3+
src='{{ if not (strings.HasPrefix .Destination "http") }}{{ .Page.RelPermalink }}{{end}}{{ .Destination | safeURL }}'
34
alt="{{ .Text }}"
45
loading="lazy"
56
decoding="async"
67
class="full-width"
78
/>
9+
</a>
810

0 commit comments

Comments
 (0)