Dotclear

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

Revision 2602:58466d372cb5, 3.5 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}}" />
6
7     <title>{{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:BlogDescription cut_string="180" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
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: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:BlogDescription encode_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="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
24     <tpl:Categories>
25          <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
26     </tpl:Categories>
27
28     <tpl:Entries no_content="1">
29          <tpl:EntriesHeader>
30               <tpl:Pagination>
31                    <tpl:PaginationIf end="0">
32                         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
33                    </tpl:PaginationIf>
34
35                    <tpl:PaginationIf start="0">
36                         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
37                    </tpl:PaginationIf>
38               </tpl:Pagination>
39          </tpl:EntriesHeader>
40
41          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
42     </tpl:Entries>
43
44     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
45     <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" />
46     <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
47
48     {{tpl:include src="_head.html"}}
49</head>
50<body class="dc-home <tpl:SysIf current_mode="default">dc-home-first</tpl:SysIf>">
51     <div id="page">
52          {{tpl:include src="_top.html"}}
53
54          <div id="wrapper">
55
56               <div id="main">
57                    <div id="content">
58
59                         <tpl:Entries>
60
61                              <!-- First page -->
62                              <tpl:SysIf current_mode="default">
63                                   <tpl:LoopPosition start="1" length="1">
64                                        {{tpl:include src="_entry-full.html"}}
65                                   </tpl:LoopPosition>
66
67                                   <tpl:LoopPosition start="2">
68                                        {{tpl:include src="_entry_short.html"}}
69                                   </tpl:LoopPosition>
70                              </tpl:SysIf>
71
72                              <!-- Next pages -->
73                              <tpl:SysIf current_mode="!default">
74                                   {{tpl:include src="_entry_short.html"}}
75                              </tpl:SysIf>
76
77                              <!-- Pagination -->
78                              <tpl:EntriesFooter>
79                                   {{tpl:include src="_pagination.html"}}
80                              </tpl:EntriesFooter>
81
82                         </tpl:Entries>
83
84                    </div> <!-- End #content -->
85               </div> <!-- End #main -->
86
87               {{tpl:include src="_sidebar.html"}}
88
89          </div> <!-- End #wrapper -->
90
91          {{tpl:include src="_footer.html"}}
92     </div> <!-- End #page -->
93</body>
94</html>
Note: See TracBrowser for help on using the repository browser.

Sites map