silverstripe-blog/templates/widgets/BlogRecentPostsWidget.ss

12 lines
228 B
Scheme
Raw Normal View History

2015-03-04 23:20:47 +01:00
<% if $Posts %>
2013-08-04 18:38:26 +02:00
<ul>
2015-03-04 23:20:47 +01:00
<% loop $Posts %>
<li>
<a href="$Link" title="$Title">
<span class="arrow">&rarr;</span>
<span class="text">$Title</span>
</a>
</li>
2013-08-04 18:38:26 +02:00
<% end_loop %>
</ul>
<% end_if %>