#if $upstream.get('prefs','cancomment') $macros.commentsScript() #end if #if $upstream.get('prefs','cantrackback') $macros.trackbackScript() #end if #set lastdate = '' #if $year and $month and $day #set list = $current.getRecentPosts(year=$year, month=$month, day=$day, onhome=$onhome, category=$category) #elif $year and $month #set list = $current.getRecentPosts(year=$year, month=$month, onhome=$onhome, category=$category) #else #set list = $current.getRecentPosts(onhome=$onhome, category=$category) #end if #for $post in $list #if $post.pubdate != $lastdate #if $lastdate
  #end if #set $lastdate = $post.pubdate #else #end if #if $post.title #if $post.link #else #end if #end if #else $post.text #end if #if $post.source #end if #set $enclosure = $enclosures.getEnclosureForGUID($weblog.getCloudUrlForItem($post.pubtime, $post.id, $category)) #if $enclosure #end if #set $topics = $topicexchange.getPingsForGUID($weblog.getCloudUrlForItem($post.pubtime, $post.id, $category)) #if $topics #end if #end for #if $lastdate
$post.pubdate
 

$post.title

$post.title

#if not($post.title) #end if #if $post.rendered $post.rendered
$_('Source:') #if $post.sourceurl $post.source #else $post.source #end if
$_('Enclosure'): $enclosure.type ($enclosure.length $_('bytes'))
$_('This post references topics'): #for $topic in $topics $topic.topic #end for
$_('posted at') $macros.Time($post.pubtime)    $macros.weblogPermaLink($post.id, $post.pubtime, $category) #if $upstream.get('prefs','cancomment')    $macros.weblogCommentsLink($post.id, $post.pubtime, $category) #end if #if $upstream.get('prefs','cantrackback')    $macros.weblogTrackbackLink($post.id, $post.pubtime, $category) #end if
#end if