Dotclear

source: inc/public/default-templates/currywurst/category.html @ 2602:58466d372cb5

Revision 2602:58466d372cb5, 4.2 KB checked in by franck <carnet.franck.paul@…>, 12 years ago (diff)

Switch all templates to HTML5, step 1, ARIA roles need to be implemented

Line 
1<!DOCTYPE html>
2<html lang="{{tpl:BlogLanguage}}">
3<head>
4     <meta charset="UTF-8" />
5     <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
6
7     <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
8     <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription cut_string="180" remove_html="1"}}" />
9     <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
10     <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
11     <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
12
13     <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
14     <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
15     <meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription remove_html="1"}}" />
16     <meta property="dc.language" content="{{tpl:BlogLanguage}}" />
17     <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
18     <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
19     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
20     <meta property="dc.type" content="text" />
21     <meta property="dc.format" content="text/html" />
22
23     <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
24     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
25
26     <tpl:Entries no_content="1">
27          <tpl:EntriesHeader>
28               <tpl:Pagination>
29                    <tpl:PaginationIf end="0">
30                         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
31                    </tpl:PaginationIf>
32
33                    <tpl:PaginationIf start="0">
34                         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
35                    </tpl:PaginationIf>
36               </tpl:Pagination>
37          </tpl:EntriesHeader>
38
39          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
40     </tpl:Entries>
41
42     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" />
43
44     {{tpl:include src="_head.html"}}
45</head>
46<body class="dc-category">
47     <div id="page">
48          {{tpl:include src="_top.html"}}
49
50          <div id="wrapper">
51
52               <div id="main">
53                    <div id="content">
54
55                         <div id="content-info">
56                              <h2>
57                                   <tpl:CategoryParents>
58                                        <a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo;
59                                   </tpl:CategoryParents>
60                                   {{tpl:CategoryTitle encode_html="1"}}
61                              </h2>
62                              {{tpl:CategoryDescription}}
63
64                              <tpl:CategoryIf has_entries="1">
65                                   <p class="feed-info">
66                                        <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
67                                         title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a>
68
69                                        <tpl:SysIf operator="or" comments_active="1" pings_active="1">
70                                              - <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
71                                              title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a>
72                                        </tpl:SysIf>
73                                   </p>
74                              </tpl:CategoryIf>
75
76                              <tpl:CategoryFirstChildren>
77                                   <tpl:CategoriesHeader>
78                                        <div id="subcategories">
79                                             <h3>{{tpl:lang Subcategories}}</h3>
80                                             <ul>
81                                   </tpl:CategoriesHeader>
82                                                  <li class="post-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
83                                   <tpl:CategoriesFooter>
84                                             </ul>
85                                        </div>
86                                   </tpl:CategoriesFooter>
87                              </tpl:CategoryFirstChildren>
88                         </div>
89
90                         <div class="content-inner">
91                              <tpl:Entries>
92                                   {{tpl:include src="_entry_short.html"}}
93
94                                   <tpl:EntriesFooter>
95                                        {{tpl:include src="_pagination.html"}}
96                                   </tpl:EntriesFooter>
97                              </tpl:Entries>
98                         </div> <!-- End #content-inner -->
99                    </div> <!-- End #content -->
100               </div> <!-- End #main -->
101
102               {{tpl:include src="_sidebar.html"}}
103
104          </div> <!-- End #wrapper -->
105
106          {{tpl:include src="_footer.html"}}
107     </div> <!-- End #page -->
108</body>
109</html>
Note: See TracBrowser for help on using the repository browser.

Sites map