silverstripe-blog/templates/widgets/BlogCategoriesWidget.ss

12 lines
238 B
Scheme
Raw Normal View History

2015-03-04 23:20:47 +01:00
<% if $Categories %>
2013-08-04 18:38:26 +02:00
<ul>
2015-03-04 23:20:47 +01:00
<% loop $Categories %>
<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 %>