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

14 lines
226 B
Scheme
Raw Normal View History

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