silverstripe-webpack/app/templates/SilverStripe/Blog/Widgets/BlogFeaturedPostsWidget.ss
2021-01-14 23:56:34 +07:00

15 lines
260 B
Scheme

<% if $Posts %>
<div class="blog-posts__featured">
<ul>
<% loop $Posts %>
<li>
<a href="$Link" title="$Title">
<span class="arrow">&rarr;</span>
<span class="text">$Title</span>
</a>
</li>
<% end_loop %>
</ul>
</div>
<% end_if %>