Dotclear

source: themes/ductile/tpl/_entry-short.html @ 694:cdb899b3d7ac

Revision 694:cdb899b3d7ac, 2.9 KB checked in by kozlika, 14 years ago (diff)

Ductile : on allège un peu.

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

Sites map