Dotclear

source: inc/public/default-templates/currywurst/_entry-short.html @ 2604:0cc273ec6062

Revision 2604:0cc273ec6062, 2.7 KB checked in by franck <carnet.franck.paul@…>, 12 years ago (diff)

Switch all templates to HTML5, step 3, xml:lang… no more needed

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

Sites map