Dotclear

source: themes/ductile/tpl/_entry-short.html @ 535:66f118a563a5

Revision 535:66f118a563a5, 2.8 KB checked in by kozlika, 14 years ago (diff)

Ductile - Tous les contextes avec liste sont en place.

Line 
1    <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}} short" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
2    <!-- # New day date -->
3    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
4   
5    <h2 class="post-title"><a
6    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
7   
8          <div class="post-attr">
9         <p class="post-info">
10          <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
11          <span class="post-date">{{tpl:EntryDate}}. </span>
12          <tpl:EntryIf has_category="1">
13                    <tpl:EntryCategoriesBreadcrumb>
14                      <span class="post-breadcrumb-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></span> ›
15                    </tpl:EntryCategoriesBreadcrumb>
16               <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
17          </tpl:EntryIf>
18         </p>
19         
20         <tpl:EntryTags>
21         <tpl:TagsHeader><p class="post-tags"></tpl:TagsHeader>
22         <a href="{{tpl:TagURL}}">{{tpl:TagID}}</a>
23         <tpl:TagsFooter></p></tpl:TagsFooter>
24         </tpl:EntryTags>
25          </div>   
26   
27    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
28    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
29   
30    <!-- # Entry with an excerpt -->
31    <tpl:EntryIf extended="1">
32      <div class="post-content">{{tpl:EntryExcerpt}}</div>
33      <p class="read-it"><a href="{{tpl:EntryURL}}"
34      title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
35      reading}}</a></p>
36    </tpl:EntryIf>
37   
38    <!-- # Entry without excerpt -->
39    <tpl:EntryIf extended="0">
40      <div class="post-content">{{tpl:EntryContent encode_html="1" remove_html="1" cut_string="300"}}</div>
41      <p class="read-it"><a href="{{tpl:EntryURL}}"
42      title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
43      reading}}</a></p>
44    </tpl:EntryIf>
45   
46    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
47    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
48   
49    <!-- # Number of comments, trackbacks and attachments -->
50    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
51      <p class="post-info-co">
52    </tpl:EntryIf>
53    <tpl:EntryIf show_comments="1">
54      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
55    </tpl:EntryIf>
56    <tpl:EntryIf show_pings="1">
57      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
58    <tpl:EntryIf has_attachment="1">
59      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
60    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
61      </p>
62    </tpl:EntryIf>
63    </div>
Note: See TracBrowser for help on using the repository browser.

Sites map