repo.or.cz
/
blog.pm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Using common modules and templates.
[blog.pm.git]
/
templates
/
src
/
default
/
include
/
recent_posts
blob
8868e7a426d0c1baed0a5a3e7f266726596d6346
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 %]