silverstripe-webpack/app/templates/SilverStripe/Blog/Widgets/BlogFeaturedPostsWidget.ss

15 lines
260 B
Scheme
Raw Normal View History

2020-06-18 01:25:50 +02:00
<% if $Posts %>
2021-01-14 17:56:34 +01:00
<div class="blog-posts__featured">
2020-06-18 01:25:50 +02:00
<ul>
<% loop $Posts %>
<li>
<a href="$Link" title="$Title">
<span class="arrow">&rarr;</span>
<span class="text">$Title</span>
</a>
</li>
<% end_loop %>
</ul>
2021-01-14 17:56:34 +01:00
</div>
2020-06-18 01:25:50 +02:00
<% end_if %>