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

12 lines
201 B
Scheme

<% if $Posts %>
<ul class="list-unstyled">
<% loop $Posts %>
<li>
<a href="$Link" title="$Title">
<span class="text">$Title</span>
</a>
</li>
<% end_loop %>
</ul>
<% end_if %>