Dotclear

source: themes/ductile/tpl/home.html @ 583:c7f81168aa22

Revision 583:c7f81168aa22, 3.8 KB checked in by Franck <carnet.franck.paul@…>, 14 years ago (diff)

Configuration du nb de billets par page pour les contextes home (toute page), catégorie, tag, recherche.

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
4<head>
5  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
7 
8  <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
9  <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>" />
10  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
11  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
12  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
13 
14  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
15  <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
16  <meta name="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription encode_html="1"}}" />
17  <meta name="dc.language" content="{{tpl:BlogLanguage}}" />
18  <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
19  <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
20  <meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
21  <meta name="dc.type" content="text" />
22  <meta name="dc.format" content="text/html" />
23 
24  <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
25  <tpl:Categories>
26  <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
27  </tpl:Categories>
28 
29  {{tpl:ductileNbEntryPerPage nb="8"}}
30  <tpl:Entries no_content="1">
31    <tpl:EntriesHeader>
32      <tpl:Pagination>
33        <tpl:PaginationIf end="0">
34        <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
35        </tpl:PaginationIf>
36       
37        <tpl:PaginationIf start="0">
38        <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
39        </tpl:PaginationIf>
40      </tpl:Pagination>
41    </tpl:EntriesHeader>
42   
43    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
44  </tpl:Entries>
45 
46  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
47  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" />
48  <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
49 
50  {{tpl:include src="_head.html"}}
51</head>
52
53<body class="dc-home">
54<div id="page">
55{{tpl:include src="_top.html"}}
56
57<div id="wrapper">
58
59<div id="main">
60  <div id="content">
61
62  {{tpl:ductileNbEntryPerPage nb="8"}}
63  <tpl:Entries>
64
65          <!-- First page -->
66          <tpl:SysIf current_mode="default">
67               <tpl:LoopPosition start="1" length="1">
68                    {{tpl:include src="_entry-full.html"}}
69               </tpl:LoopPosition>
70     
71               <tpl:LoopPosition start="2">
72                    {{tpl:ductileEntriesList default="short"}}
73               </tpl:LoopPosition>
74          </tpl:SysIf>
75     
76          <!-- Next pages -->
77          <tpl:SysIf current_mode="!default">
78               {{tpl:ductileEntriesList default="short"}}
79          </tpl:SysIf>   
80
81          <!-- Pagination -->
82    <tpl:EntriesFooter>
83               {{tpl:include src="_pagination.html"}}
84    </tpl:EntriesFooter>
85
86  </tpl:Entries>
87
88  </div> <!-- End #content -->
89</div> <!-- End #main -->
90
91{{tpl:include src="_sidebar.html"}}
92
93</div> <!-- End #wrapper -->
94
95{{tpl:include src="_footer.html"}}
96</div> <!-- End #page -->
97</body>
98</html>
Note: See TracBrowser for help on using the repository browser.

Sites map