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

14 lines
226 B
Scheme

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