Dotclear

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

Revision 2602:58466d372cb5, 5.8 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
51<body class="dc-home">
52<div id="page">
53{{tpl:include src="_top.html"}}
54
55<div id="wrapper">
56
57<div id="main">
58  <div id="content">
59  <tpl:Entries>
60    <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
61    <!-- # New day date -->
62    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
63
64    <h2 class="post-title"><a
65    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
66
67    <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
68    {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}
69    <tpl:EntryIf has_category="1">
70    - <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
71    </tpl:EntryIf>
72    </p>
73
74    <tpl:EntryTags>
75    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
76    <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
77    <tpl:TagsFooter></ul></tpl:TagsFooter>
78    </tpl:EntryTags>
79
80    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
81    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
82
83    <!-- # Entry with an excerpt -->
84    <tpl:EntryIf extended="1">
85      <div class="post-content">{{tpl:EntryExcerpt}}</div>
86      <p class="read-it"><a href="{{tpl:EntryURL}}"
87      title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
88      reading}}</a>...</p>
89    </tpl:EntryIf>
90
91    <!-- # Entry without excerpt -->
92    <tpl:EntryIf extended="0">
93      <div class="post-content">{{tpl:EntryContent}}</div>
94    </tpl:EntryIf>
95
96    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
97    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
98
99    <!-- # Number of comments, trackbacks and attachments -->
100    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
101      <p class="post-info-co">
102    </tpl:EntryIf>
103    <tpl:EntryIf show_comments="1">
104      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
105    </tpl:EntryIf>
106    <tpl:EntryIf show_pings="1">
107      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
108    <tpl:EntryIf has_attachment="1">
109      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
110    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
111      </p>
112    </tpl:EntryIf>
113    </div>
114
115    <tpl:EntriesFooter>
116      <tpl:Pagination>
117        <p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
118        {{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
119        {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
120        <tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
121        &#187;</a></tpl:PaginationIf></p>
122      </tpl:Pagination>
123    </tpl:EntriesFooter>
124  </tpl:Entries>
125  </div>
126</div> <!-- End #main -->
127
128<div id="sidebar">
129  <div id="blognav">
130    {{tpl:Widgets type="nav"}}
131  </div> <!-- End #blognav -->
132
133  <div id="blogextra">
134    {{tpl:Widgets type="extra"}}
135  </div> <!-- End #blogextra -->
136</div>
137
138</div> <!-- End #wrapper -->
139
140{{tpl:include src="_footer.html"}}
141</div> <!-- End #page -->
142</body>
143</html>
Note: See TracBrowser for help on using the repository browser.

Sites map