Dotclear

source: inc/public/default-templates/dotty/_entry-full.html @ 3246:9b71237c9035

Revision 3246:9b71237c9035, 2.1 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

New dotty html5 template set, first step ; addresses #2061

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

Sites map