diff options
Diffstat (limited to 'data/tpl/home')
-rw-r--r-- | data/tpl/home | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/data/tpl/home b/data/tpl/home index b07e6e11..eb73a1d9 100644 --- a/data/tpl/home +++ b/data/tpl/home @@ -29,6 +29,20 @@ </ul> <ul class="home"> + <li><b>Recent posts</b></li> + [[ for (@{$d{recentposts}}) { ]]- + <li><a href="/t[[= $_->{id}.'.'.$_->{count} ]]" title="[[: $_->{title} ]]">[[: shorten $_->{title}, 25 ]]</a> <i>[[: $_->{lusername} ]]</i></li> + [[ } ]]- +</ul> + +<ul class="home"> + <li><b>Upcoming releases</b></li> + [[ for (@{$d{upcomingrel}}) { ]]- + <li>[[= datestr $_->{released}, 1 ]]- <a href="/r[[= $_->{id} ]]" title="[[: $_->{title} ]]">[[: shorten $_->{title}, 25 ]]</a></i></li> + [[ } ]]- +</ul> + +<ul class="home break"> <li><b>Recently added visual novels</b></li> [[ for (@{$d{recentvns}}) { ]]- <li><a href="/v[[= $_->{iid} ]]" title="[[: $_->{ititle} ]]">[[: shorten $_->{ititle}, 30 ]]</a></li> @@ -41,3 +55,10 @@ <li><a href="/p[[= $_->{iid} ]]" title="[[: $_->{ititle} ]]">[[: shorten $_->{ititle}, 30 ]]</a></li> [[ } ]]- </ul> + +<ul class="home"> + <li><b>Just released</b></li> + [[ for (@{$d{justrel}}) { ]]- + <li>[[= datestr $_->{released}, 1 ]]- <a href="/r[[= $_->{id} ]]" title="[[: $_->{title} ]]">[[: shorten $_->{title}, 25 ]]</a></i></li> + [[ } ]]- +</ul> |