silverstripe-blog/templates/widgets/BlogRecentPostsWidget.ss
2015-03-05 13:05:03 +13:00

12 lines
228 B
Scheme

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