Dotclear

source: themes/ductile/tpl/_entry-short.html @ 441:6aed3bafe1f3

Revision 441:6aed3bafe1f3, 2.6 KB checked in by kozlika, 14 years ago (diff)

Jour 6. Ready.

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:lang on}} {{tpl:EntryDate}}. </span>
12          <tpl:EntryIf has_category="1">
13               <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
14          </tpl:EntryIf>
15         </p>
16         
17         <tpl:EntryTags>
18         <tpl:TagsHeader><p class="post-tags"></tpl:TagsHeader>
19         <a href="{{tpl:TagURL}}">{{tpl:TagID}}</a>
20         <tpl:TagsFooter></p></tpl:TagsFooter>
21         </tpl:EntryTags>
22          </div>   
23   
24    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
25    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
26   
27    <!-- # Entry with an excerpt -->
28    <tpl:EntryIf extended="1">
29      <div class="post-content">{{tpl:EntryExcerpt}}</div>
30      <p class="read-it"><a href="{{tpl:EntryURL}}"
31      title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
32      reading}}</a></p>
33    </tpl:EntryIf>
34   
35    <!-- # Entry without excerpt -->
36    <tpl:EntryIf extended="0">
37      <div class="post-content">{{tpl:EntryContent encode_html="1" remove_html="1" cut_string="300"}}</div>
38      <p class="read-it"><a href="{{tpl:EntryURL}}"
39      title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
40      reading}}</a></p>
41    </tpl:EntryIf>
42   
43    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
44    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
45   
46    <!-- # Number of comments, trackbacks and attachments -->
47    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
48      <p class="post-info-co">
49    </tpl:EntryIf>
50    <tpl:EntryIf show_comments="1">
51      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
52    </tpl:EntryIf>
53    <tpl:EntryIf show_pings="1">
54      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
55    <tpl:EntryIf has_attachment="1">
56      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
57    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
58      </p>
59    </tpl:EntryIf>
60    </div>
Note: See TracBrowser for help on using the repository browser.

Sites map