Using common modules and templates.
[blog.pm.git] / templates / src / default / include / recent_posts
blob8868e7a426d0c1baed0a5a3e7f266726596d6346
1 [% posts = c.helper('Post').recent %]
2 [% FOREACH post IN posts %]
3 [% IF loop.first %]<ul>[% END %]
4 <li><a href="[% uri_post_view(post) %]">[% post.title | html %]</a>[% translation(post) %]</li>
5 [% IF loop.last %]</ul>[% END %]
6 [% END %]