Dotclear

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

Revision 3422:d294032fcdd4, 3.1 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     <header id="content-info">
42          <h2>
43               <tpl:CategoryParents>
44                    <a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo;
45               </tpl:CategoryParents>
46               {{tpl:CategoryTitle encode_html="1"}}
47          </h2>
48
49          <tpl:CategoryIf has_entries="1">
50               <ul class="content-info__feed">
51                    <li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
52                     title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a></li>
53
54                    <tpl:SysIf operator="or" comments_active="1" pings_active="1">
55                          <li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
56                          title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a></li>
57                    </tpl:SysIf>
58               </ul>
59          </tpl:CategoryIf>
60
61          <div class="content-info__cat-desc">
62               {{tpl:CategoryDescription}}
63          </div>
64
65
66          <tpl:CategoryFirstChildren>
67               <tpl:CategoriesHeader>
68                    <div id="subcategories" class="content-info__sub-cat">
69                         <h3>{{tpl:lang Subcategories}}</h3>
70                         <ul>
71               </tpl:CategoriesHeader>
72                              <li class="post-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
73               <tpl:CategoriesFooter>
74                         </ul>
75                    </div>
76               </tpl:CategoriesFooter>
77          </tpl:CategoryFirstChildren>
78     </header> <!-- End #content-info -->
79
80     <div class="content-inner">
81          <tpl:Entries>
82               {{tpl:include src="_entry-short.html"}}
83
84               <tpl:EntriesFooter>
85                    {{tpl:include src="_pagination.html"}}
86               </tpl:EntriesFooter>
87          </tpl:Entries>
88     </div> <!-- End #content-inner -->
89</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map