Dotclear

source: themes/ductile/tpl/_entry-short.html @ 645:eefca8d74b8d

Revision 645:eefca8d74b8d, 2.9 KB checked in by kozlika, 14 years ago (diff)

Ductile - En cas de cut_string, ajoute le […]

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 href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
6     
7     <div class="post-attr">
8          <p class="post-info">
9               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
10               <span class="post-date">{{tpl:EntryDate}}. </span>
11               <tpl:EntryIf has_category="1">
12                    <tpl:EntryCategoriesBreadcrumb>
13                         <span class="post-breadcrumb-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></span> ›
14                    </tpl:EntryCategoriesBreadcrumb>
15                    <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
16               </tpl:EntryIf>
17          </p>
18         
19          <tpl:EntryTags>
20               <tpl:TagsHeader>
21                    <p class="post-tags">
22               </tpl:TagsHeader>
23                         <a href="{{tpl:TagURL}}">{{tpl:TagID}}</a>
24               <tpl:TagsFooter>
25                    </p>
26               </tpl:TagsFooter>
27          </tpl:EntryTags>
28     </div>   
29     
30     <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
31     {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
32     
33     <!-- # Entry with an excerpt -->
34     <tpl:EntryIf extended="1">
35          <div class="post-content">{{tpl:EntryExcerpt}}</div>
36          <p class="read-it"><a href="{{tpl:EntryURL}}"
37           title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue reading}}</a>
38          </p>
39     </tpl:EntryIf>
40     
41     <!-- # Entry without excerpt -->
42     <tpl:EntryIf extended="0">
43          <div class="post-content">
44               {{tpl:EntryFirstImage size="t" class="post-icon"}}
45               <p>
46                    {{tpl:EntryContent encode_html="1" remove_html="1" cut_string="300"}}
47                    <tpl:EntryIfContentIsCut encode_html="1" remove_html="1" cut_string="300">
48                    &nbsp;[…]
49                    </tpl:EntryIfContentIsCut>
50               </p>
51          </div>
52          <tpl:EntryIfContentIsCut encode_html="1" remove_html="1" cut_string="300">
53               <p class="read-it"><a href="{{tpl:EntryURL}}"
54                title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue reading}}</a></p>
55          </tpl:EntryIfContentIsCut>
56     </tpl:EntryIf>
57     
58     <!-- # --BEHAVIOR-- publicEntryAfterContent -->
59     {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
60     
61     <!-- # Number of comments, trackbacks and attachments -->
62     <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
63          <p class="post-info-co">
64     </tpl:EntryIf>
65     <tpl:EntryIf show_comments="1">
66               <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
67     </tpl:EntryIf>
68     <tpl:EntryIf show_pings="1">
69               <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
70     <tpl:EntryIf has_attachment="1">
71               <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
72     <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
73          </p>
74     </tpl:EntryIf>
75</div>
Note: See TracBrowser for help on using the repository browser.

Sites map