silverstripe-blog/templates/SilverStripe/Blog/Widgets/BlogRecentPostsWidget.ss

12 lines
217 B
Scheme
Raw Permalink Normal View History

2018-01-10 06:47:39 +01:00
<% 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 %>