Dotclear

source: themes/ductile/tpl/_entry-full.html @ 436:4f8dd04d5916

Revision 436:4f8dd04d5916, 2.0 KB checked in by kozlika, 14 years ago (diff)

Modifs HTML first step:

  • sidebar et modeles de billets en include
  • classes sur les liens du post-info
  • passage des tags en paragraphe
Line 
1    <div id="p{{tpl:EntryID}}" class="post {{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
6    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
7   
8    <p class="post-info">
9     <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}</span>
10     <span class="post-date">{{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}</span>
11    <tpl:EntryIf has_category="1">
12     <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
13    </tpl:EntryIf>
14    </p>
15   
16    <tpl:EntryTags>
17    <tpl:TagsHeader><p class="post-tags"></tpl:TagsHeader>
18    <a href="{{tpl:TagURL}}">{{tpl:TagID}}</a>
19    <tpl:TagsFooter></p></tpl:TagsFooter>
20    </tpl:EntryTags>
21   
22    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
23    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
24   
25     <tpl:EntryIf extended="1">
26          <div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
27      </tpl:EntryIf>
28      <div class="post-content">{{tpl:EntryContent}}</div>
29
30   
31    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
32    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
33   
34    <!-- # Number of comments, trackbacks and attachments -->
35    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
36      <p class="post-info-co">
37    </tpl:EntryIf>
38    <tpl:EntryIf show_comments="1">
39      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
40    </tpl:EntryIf>
41    <tpl:EntryIf show_pings="1">
42      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
43    <tpl:EntryIf has_attachment="1">
44      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
45    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
46      </p>
47    </tpl:EntryIf>
48    </div>
Note: See TracBrowser for help on using the repository browser.

Sites map