blob: 21b59834544c0c19b3b63e794ad942bb43667830 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{* $Header$ *}
{strip}
<ul class="blogs">
{section name=ix loop=$blogPosts}
<li class="{cycle values="odd,even"}">
<div class="title">
<a href="{$blogPosts[ix].display_url}">
{if $blogPosts[ix].title}
{$blogPosts[ix].title}
{else}
{$blogPosts[ix].publish_date|default:$blogPosts[ix].created|bit_long_date}
{/if}
</a>
</div>
<div class="date">
{$blogPosts[ix].publish_date|default:$blogPosts[ix].created|bit_long_date}
<br />
{tr}by{/tr} {displayname hash=$blogPosts[ix]}
</div>
{if $blogPostsFormat == 'summary'}
{$blogPosts[ix].summary|default:$blogPosts[ix].parsed_description|truncate:$descriptionLength}
<a class="more" href="{$blogPosts[ix].post_url}">{tr}read more{/tr}</a>
{/if}
</li>
{sectionelse}
<li></li>
{/section}
</ul>
{/strip}
|