59 lines
1.8 KiB
HTML
Executable File
59 lines
1.8 KiB
HTML
Executable File
<div id="content-second-left">
|
|
|
|
<h2 class="content-title">précédemment</h2>
|
|
|
|
<tpl:Entries lastn="2">
|
|
<tpl:LoopPosition start="2" length="1">
|
|
|
|
<div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
|
|
|
|
<p class="post-date">{{tpl:EntryDate}}</p>
|
|
<h2 class="post-title"><a
|
|
href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
|
|
|
|
<p class="post-category">
|
|
<tpl:EntryIf has_category="1">
|
|
<a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
|
|
</tpl:EntryIf>
|
|
</p>
|
|
|
|
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
|
|
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
|
|
|
|
<!-- # Entry with an excerpt -->
|
|
<tpl:EntryIf extended="1">
|
|
|
|
<div class="post-content">{{tpl:EntryFirstImage class="post-first-image" size="t" with_category="1"}}{{tpl:EntryExcerpt}}</div>
|
|
<p class="read-it"><a href="{{tpl:EntryURL}}"
|
|
title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">→ {{tpl:lang Continue
|
|
reading}}</a></p>
|
|
</tpl:EntryIf>
|
|
|
|
<!-- # Entry without excerpt -->
|
|
<tpl:EntryIf extended="0">
|
|
|
|
<div class="post-content">{{tpl:EntryFirstImage class="post-first-image" size="t" with_category="1"}}{{tpl:EntryContent}}</div>
|
|
</tpl:EntryIf>
|
|
|
|
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
|
|
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
|
|
|
|
</div>
|
|
|
|
</tpl:LoopPosition>
|
|
</tpl:Entries>
|
|
|
|
</div>
|
|
|
|
<div id="content-second-right">
|
|
|
|
<h2 class="content-title">dernière réaction</h2>
|
|
|
|
<div id="content-last-comment">
|
|
<tpl:Comments lastn="1" order="desc">
|
|
<p class="last-comment"><a href="{{tpl:CommentPostURL}}#c{{tpl:CommentID}}">« {{tpl:CommentContent remove_html="1" cut_string="250"}}... »</a></p>
|
|
<p class="last-comment-author">— {{tpl:CommentAuthor}}, {{tpl:CommentDate format="%d/%m/%Y"}}</p>
|
|
</tpl:Comments>
|
|
</div>
|
|
|
|
</div> |