Dotclear

source: inc/public/default-templates/mustek/category.html @ 3422:d294032fcdd4

Revision 3422:d294032fcdd4, 5.2 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

No more <link rel="top" …> neither <link rel="up" …> in HTML5

Line 
1{{tpl:extends parent="__layout.html"}}
2
3<tpl:Block name="head-title">
4     <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
5</tpl:Block>
6
7<tpl:Block name="meta-robots">
8     <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
9</tpl:Block>
10
11<tpl:Block name="meta-entry">
12     <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription encode_html="1" cut_string="180" remove_html="1"}}" />
13     <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
14     <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
15</tpl:Block>
16
17<tpl:Block name="head-linkrel">
18     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
19     <tpl:Entries no_content="1">
20          <tpl:EntriesHeader>
21               <tpl:Pagination>
22                    <tpl:PaginationIf end="0">
23                         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
24                    </tpl:PaginationIf>
25
26                    <tpl:PaginationIf start="0">
27                         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
28                    </tpl:PaginationIf>
29               </tpl:Pagination>
30          </tpl:EntriesHeader>
31
32          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
33     </tpl:Entries>
34
35     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" />
36</tpl:Block>
37
38<tpl:Block name="body-tag"><body class="dc-category"></tpl:Block>
39
40<tpl:Block name="main-content">
41     <div id="content-info">
42          <h2><tpl:CategoryParents><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; </tpl:CategoryParents>
43          {{tpl:CategoryTitle encode_html="1"}}</h2>
44          {{tpl:CategoryDescription}}
45
46          <tpl:CategoryIf has_entries="1">
47               <p><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
48               title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a>
49
50               <tpl:SysIf operator="or" comments_active="1" pings_active="1">
51               - <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
52               title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a>
53               </tpl:SysIf>
54               </p>
55          </tpl:CategoryIf>
56     </div>
57
58     <tpl:CategoryFirstChildren>
59          <tpl:CategoriesHeader>
60               <div id="subcategories">
61                    <h3>{{tpl:lang Subcategories}}</h3>
62                    <ul>
63          </tpl:CategoriesHeader>
64                    <li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
65          <tpl:CategoriesFooter>
66                    </ul>
67               </div>
68          </tpl:CategoriesFooter>
69     </tpl:CategoryFirstChildren>
70
71     <tpl:Entries>
72          <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
73               <!-- # New day date -->
74               <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
75
76               <h2 class="post-title"><a
77               href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
78
79               <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
80               {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}</p>
81
82               <tpl:EntryTags>
83                    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
84                    <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
85                    <tpl:TagsFooter></ul></tpl:TagsFooter>
86               </tpl:EntryTags>
87
88               <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
89               {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
90
91               <!-- # Entry with an excerpt -->
92               <tpl:EntryIf extended="1">
93                    <div class="post-content">{{tpl:EntryExcerpt}}</div>
94                    <p class="read-it"><a href="{{tpl:EntryURL}}"
95                    title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
96                    reading}}</a><span class="readmore-ellipsis">...</span></p>
97               </tpl:EntryIf>
98
99               <!-- # Entry without excerpt -->
100               <tpl:EntryIf extended="0">
101                    <div class="post-content">{{tpl:EntryContent}}</div>
102               </tpl:EntryIf>
103
104               <!-- # --BEHAVIOR-- publicEntryAfterContent -->
105               {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
106
107               <!-- # Number of comments, trackbacks and attachments -->
108               <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
109                    <p class="post-info-co">
110               </tpl:EntryIf>
111               <tpl:EntryIf show_comments="1">
112                    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
113               </tpl:EntryIf>
114               <tpl:EntryIf show_pings="1">
115                    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
116               <tpl:EntryIf has_attachment="1">
117                    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
118               <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
119                 </p>
120               </tpl:EntryIf>
121          </div>
122
123          <tpl:EntriesFooter>
124               <tpl:Pagination>
125                    <p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
126                    {{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
127                    {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
128                    <tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
129                    &#187;</a></tpl:PaginationIf></p>
130               </tpl:Pagination>
131          </tpl:EntriesFooter>
132     </tpl:Entries>
133</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map