[%# latest/index.tt Tag cloud and feed for latest things page. Authors: RSH Copyright (c) 2018 by Dreamwidth Studios, LLC. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. For a copy of the license, please reference 'perldoc perlartistic' or 'perldoc perlgpl'. %] [% sections.title = 'Latest Things' %]

Latest things on [% site.name %]. This page shows you a sample of the most recently posted things that are available on the site. The feed is updated every minute or two. Also, new posts and comments won't show up until five (5) minutes after they are posted. Just in case they are accidentally posted public.

Other things you can do with the latest entries: find out the general mood of [% site.nameshort %].

[% IF tagfeeds %]
[% tagfeeds %]
[% END %] [% FOREACH item IN items %] [% IF item.isa('LJ::Comment') %] [%# FIXME: fill this out some day %] [% ELSIF item.isa('LJ::Entry') %] [% NEXT UNLESS item.security == 'public' && item.poster.is_visible %] [% comment = item.reply_count == 1 ? "1 comment" : ( item.reply_count > 0 ? "$item.reply_count comments" : 'no comments' ) %]
[% FOREACH tag IN item.tags.sort %] [% tag | html %] [%- ", " UNLESS loop.last %] [% END %]
[% item.poster.ljuser_display %] [% IF NOT item.poster.equals(item.journal) %] in [% item.journal.ljuser_display %] [% END %] ([% time_diff(item.logtime_unix, now) %])
[% make_short_entry(item) %]
[% END %] [% END %]