mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
9 lines
272 B
Scheme
9 lines
272 B
Scheme
<img src="$Image.Fill(432,315).URL" alt="$Title" />
|
|
<% if $Link %>
|
|
<% with $Link %>
|
|
<a href="$URL"<% if $OpenInNewWindow %> target="_blank"<% end_if %> class="stretched-link">
|
|
<span class="sr-only">$Up.Title</span>
|
|
</a>
|
|
<% end_with %>
|
|
<% end_if %>
|