Dotclear

source: inc/public/default-templates/dotty/__layout.html @ 3246:9b71237c9035

Revision 3246:9b71237c9035, 5.9 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

New dotty html5 template set, first step ; addresses #2061

Line 
1<!DOCTYPE html>
2<html lang="{{tpl:BlogLanguage}}">
3<head prefix="og: http://ogp.me/ns#; dc: http://purl.org/dc/terms/#">
4     <tpl:Block name="html-head">
5          <meta charset="UTF-8" />
6
7          <tpl:Block name="head-title">
8               <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
9          </tpl:Block>   <!-- head-title -->
10
11          <tpl:Block name="head-meta">
12               <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
13               <tpl:Block name="meta-robots">
14                    <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
15               </tpl:Block>   <!-- meta-robots -->
16               <tpl:Block name="meta-entry">
17                    <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" remove_html="1" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
18                    <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
19                    <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
20               </tpl:Block>   <!-- meta-entry -->
21          </tpl:Block>   <!-- head-meta -->
22
23          <tpl:Block name="head-dc">
24               <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
25               <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
26               <meta property="dc.type" content="text" />
27               <meta property="dc.format" content="text/html" />
28               <tpl:Block name="dc-entry">
29                    <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
30                    <meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" />
31                    <meta property="dc.language" content="{{tpl:BlogLanguage}}" />
32                    <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
33               </tpl:Block>   <!-- dc-entry -->
34          </tpl:Block>   <!-- head-dc -->
35
36          <tpl:Block name="head-og">
37               <tpl:Block name="og-entry">
38                    <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
39                    <meta property="og:description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" />
40               </tpl:Block>   <!-- #og-entry -->
41          </tpl:Block>   <!-- #head-og -->
42
43          <tpl:Block name="head-schema">
44               <tpl:Block name="schema-entry">
45                    <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
46                    <meta itemprop="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" />
47               </tpl:Block>   <!-- #schema-entry -->
48          </tpl:Block>   <!-- #head-schema -->
49
50          <tpl:Block name="head-linkrel">
51               <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
52               <tpl:Categories>
53                    <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
54               </tpl:Categories>
55
56               <tpl:Entries no_content="1">
57                    <tpl:EntriesHeader>
58                         <tpl:Pagination>
59                              <tpl:PaginationIf end="0">
60                                   <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
61                              </tpl:PaginationIf>
62
63                              <tpl:PaginationIf start="0">
64                                   <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
65                              </tpl:PaginationIf>
66                         </tpl:Pagination>
67                    </tpl:EntriesHeader>
68
69                    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
70               </tpl:Entries>
71
72               <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
73               <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" />
74               <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
75          </tpl:Block>   <!-- head-linkrel -->
76
77          {{tpl:include src="_head.html"}}
78     </tpl:Block>   <!-- html-head -->
79</head>
80<tpl:Block name="body-tag">
81     <body class="dc-home <tpl:SysIf current_mode="default">dc-home-first</tpl:SysIf>">
82</tpl:Block>
83     <tpl:Block name="html-body">
84          <div id="page">
85               <tpl:Block name="body-page">
86                    <tpl:Block name="page-top">
87                         {{tpl:include src="_top.html"}}
88                    </tpl:Block>   <!-- page-top -->
89
90                    <div id="wrapper">
91                         <tpl:Block name="page-wrapper">
92                              <div id="main" role="main">
93                                   <tpl:Block name="wrapper-main">
94                                        <tpl:Block name="main-breadcrumb">
95                                             {{tpl:Breadcrumb}}
96                                        </tpl:Block>
97                                        <section id="content">
98                                             <tpl:Block name="main-content">
99
100                                                  <tpl:Entries>
101
102                                                       <!-- First page -->
103                                                       <tpl:SysIf current_mode="default">
104                                                            <tpl:LoopPosition start="1" length="1">
105                                                                 {{tpl:include src="_entry-full.html"}}
106                                                            </tpl:LoopPosition>
107
108                                                            <tpl:LoopPosition start="2">
109                                                                 {{tpl:include src="_entry-short.html"}}
110                                                            </tpl:LoopPosition>
111                                                       </tpl:SysIf>
112
113                                                       <!-- Next pages -->
114                                                       <tpl:SysIf current_mode="!default">
115                                                            {{tpl:include src="_entry-short.html"}}
116                                                       </tpl:SysIf>
117
118                                                       <!-- Pagination -->
119                                                       <tpl:EntriesFooter>
120                                                            {{tpl:include src="_pagination.html"}}
121                                                       </tpl:EntriesFooter>
122
123                                                  </tpl:Entries>
124
125                                             </tpl:Block>   <!-- main-content -->
126                                        </section> <!-- End #content -->
127                                   </tpl:Block>   <!-- wrapper-main -->
128                              </div> <!-- End #main -->
129
130                              <tpl:Block name="wrapper-sidebar">
131                                   {{tpl:include src="_sidebar.html"}}
132                              </tpl:Block>   <!-- wrapper-sidebar -->
133                         </tpl:Block>   <!-- page-wrapper -->
134                    </div> <!-- End #wrapper -->
135
136                    <tpl:Block name="page-footer">
137                         {{tpl:include src="_footer.html"}}
138                    </tpl:Block>   <!-- page-footer -->
139               </tpl:Block>   <!-- body-page -->
140          </div> <!-- End #page -->
141     </tpl:Block>   <!-- html-body -->
142</body>
143</html>
Note: See TracBrowser for help on using the repository browser.

Sites map