Skip to content

Commit

Permalink
BUGFIX template - image link
Browse files Browse the repository at this point in the history
missing $ElementLink reference around image
  • Loading branch information
jsirish committed Nov 14, 2023
1 parent dd0c804 commit e718451
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="col-lg-3 col-md-4 col-6 mb-3 element__promos__item">
<div class="card h-100">
<% if $Image %>
<% if $ElementLink %><a href="$Link" title="Read $ElementLink.Title.ATT"><% end_if %>
<% if $ElementLink %><a href="$ElementLink" title="Read $ElementLink.Title.ATT"><% end_if %>
<img src="$Image.FocusFill(500,330).URL" class="card-img-top" alt="$Image.Title.ATT">
<% if $ElementLink %></a><% end_if %>
<% end_if %>
Expand Down

0 comments on commit e718451

Please sign in to comment.