Dotclear

source: inc/public/default-templates/currywurst/_entry-short.html @ 2619:6afc60e72a68

Revision 2619:6afc60e72a68, 2.7 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Nouveaux templates par défaut : billet (court, long, titre, entier…) ; améliorations top, rooter

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

Sites map