Dotclear

source: inc/public/default-templates/dotty/_entry-title.html @ 3289:9993fc03f56d

Revision 3289:9993fc03f56d, 1.9 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Implements <time> element whenever it's relevant, thank's Tomek for suggestion

Line 
1<article id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}} title" lang="{{tpl:EntryLang}}" role="article">
2
3     <header>
4          <!-- # New day date -->
5          <tpl:DateHeader>
6               <p class="day-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time></p>
7          </tpl:DateHeader>
8
9          <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
10     </header>
11
12     <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
13     {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
14
15     <!-- # --BEHAVIOR-- publicEntryAfterContent -->
16     {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
17
18     <footer class="post-meta">
19          <p class="post-info">
20               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
21               <span class="post-date"><time datetime="{{tpl:EntryDate iso8601="1"}}" pubdate>{{tpl:EntryDate}}</time>. </span>
22               <tpl:EntryIf has_category="1">
23                    <tpl:EntryCategoriesBreadcrumb>
24                         <span class="post-breadcrumb-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></span> ›
25                    </tpl:EntryCategoriesBreadcrumb>
26                    <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
27               </tpl:EntryIf>
28          </p>
29          <!-- # Number of comments, trackbacks and attachments -->
30          <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
31               <p class="post-info-co">
32          </tpl:EntryIf>
33          <tpl:EntryIf show_comments="1">
34                    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
35          </tpl:EntryIf>
36          <tpl:EntryIf show_pings="1">
37                    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
38          <tpl:EntryIf has_attachment="1">
39                    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
40          <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
41               </p>
42          </tpl:EntryIf>
43     </footer>
44
45</article>
Note: See TracBrowser for help on using the repository browser.

Sites map