Skip to content

Commit

Permalink
BUGFIX template - broken link (#46)
Browse files Browse the repository at this point in the history
use $ElementLink.LinkURL
  • Loading branch information
jsirish authored Nov 14, 2023
1 parent 7bc5ff9 commit 1095e42
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="$ElementLink" title="Read $ElementLink.Title.ATT"><% end_if %>
<% if $ElementLink %><a href="$ElementLink.LinkURL" title="Go to $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 1095e42

Please sign in to comment.